blob: c6b6e496e6f9c5618e667d08d1a59db89c8274a8 [file] [log] [blame]
Alexander Kurtakovc07b2162015-11-18 19:25:01 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3###############################################################################
4# Copyright (c) 2015 Red Hat, Inc and others.
5# All rights reserved. This program and the accompanying materials
6# are made available under the terms of the Eclipse Public License v1.0
7# which accompanies this distribution, and is available at
8# http://www.eclipse.org/legal/epl-v10.html
9#
10# Contributors:
11# Alexander Kurtakov, Red Hat, Inc.- initial API and implementation
12###############################################################################
13-->
14<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">
15 <modelVersion>4.0.0</modelVersion>
16 <parent>
17 <artifactId>binaries-parent</artifactId>
18 <groupId>eclipse.platform.swt.binaries</groupId>
Alexander Kurtakova1a826a2017-06-22 10:25:18 +030019 <version>4.8.0-SNAPSHOT</version>
Alexander Kurtakovc07b2162015-11-18 19:25:01 +020020 <relativePath>../binaries-parent/</relativePath>
21 </parent>
22 <groupId>org.eclipse.swt</groupId>
23 <artifactId>org.eclipse.swt.gtk.linux.arm</artifactId>
Eric Williams3aeac322017-06-09 10:48:24 -040024 <version>3.106.100-SNAPSHOT</version>
Alexander Kurtakovc07b2162015-11-18 19:25:01 +020025 <packaging>eclipse-plugin</packaging>
26
27 <properties>
28 <os>linux</os>
29 <ws>gtk</ws>
30 <arch>arm</arch>
31 <buildid>${buildId}</buildid>
32 </properties>
33
34 <build>
35 <plugins>
36 <plugin>
37 <artifactId>maven-antrun-plugin</artifactId>
38 <executions>
39 <execution>
40 <id>swtdownload</id>
41 <phase>package</phase>
42 <configuration>
43 <target>
44 <ant antfile="build.xml" target="swtdownload"/>
45 </target>
46 </configuration>
47 <goals>
48 <goal>run</goal>
49 </goals>
50 </execution>
51 </executions>
52 </plugin>
53 </plugins>
54 </build>
55
56 <!-- This has to be here. Profiles are not inheritable. -->
57 <profiles>
58 <profile>
59 <id>build-natives</id>
60 <activation>
61 <property>
62 <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
63 <name>native</name>
64 <value>gtk.linux.arm</value>
65 </property>
66 </activation>
67 <build>
68 <plugins>
69 <plugin>
70 <artifactId>maven-antrun-plugin</artifactId>
71 <executions>
72 <execution>
73 <id>natives</id>
74 <phase>process-resources</phase>
75 <configuration>
76 <target>
77 <property name="machine_gtk3" value="1"/>
78 <property name="targets" value="install" />
79 <ant antfile="build.xml" target="build_libraries"/>
80 </target>
81 </configuration>
82 <goals>
83 <goal>run</goal>
84 </goals>
85 </execution>
86 </executions>
87 </plugin>
88 </plugins>
89 </build>
90 </profile>
91 </profiles>
92</project>