1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  Copyright (c) 2012, 2015 Eclipse Foundation and others.
4  All rights reserved. This program and the accompanying materials
5  are made available under the terms of the Eclipse Distribution License v1.0
6  which accompanies this distribution, and is available at
7  http://www.eclipse.org/org/documents/edl-v10.php
8
9  Contributors:
10     Igor Fedorenko - initial implementation
11-->
12<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13  <modelVersion>4.0.0</modelVersion>
14  <parent>
15    <artifactId>eclipse.platform.team</artifactId>
16    <groupId>eclipse.platform.team</groupId>
17    <version>4.16.0-SNAPSHOT</version>
18    <relativePath>../../</relativePath>
19  </parent>
20  <groupId>org.eclipse.core</groupId>
21  <artifactId>org.eclipse.core.net.freebsd.amd64</artifactId>
22  <version>1.2.400-SNAPSHOT</version>
23  <packaging>eclipse-plugin</packaging>
24
25  <properties>
26    <skipAPIAnalysis>true</skipAPIAnalysis>
27  </properties>
28
29  <build>
30    <plugins>
31      <plugin>
32        <groupId>org.eclipse.tycho</groupId>
33        <artifactId>target-platform-configuration</artifactId>
34        <configuration>
35          <environments>
36            <environment>
37              <os>freebsd</os>
38              <ws>gtk</ws>
39              <arch>amd64</arch>
40            </environment>
41          </environments>
42        </configuration>
43      </plugin>
44    </plugins>
45  </build>
46
47  <profiles>
48    <profile>
49      <id>build-natives</id>
50      <activation>
51        <property>
52          <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
53          <name>native</name>
54          <value>gtk.freebsd.amd64</value>
55        </property>
56      </activation>
57      <build>
58        <plugins>
59          <plugin>
60            <artifactId>maven-antrun-plugin</artifactId>
61            <executions>
62              <execution>
63                <id>natives</id>
64                <phase>process-resources</phase>
65                <configuration>
66                  <target>
67                    <exec executable="gmake" newenvironment="false" dir="../org.eclipse.core.net/natives/unix/freebsd/"/>
68                    <copy todir=".">
69                      <fileset dir="../org.eclipse.core.net/natives/unix/freebsd/">
70                        <include name="libgnomeproxy-*.so"/>
71                      </fileset>
72                    </copy>
73                  </target>
74                </configuration>
75                <goals>
76                  <goal>run</goal>
77                </goals>
78              </execution>
79            </executions>
80          </plugin>
81        </plugins>
82      </build>
83    </profile>
84  </profiles>
85</project>
86