blob: b15ac12818344bb62daf6accb74a606bc2048064 [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>
Kit Lo14ddc2a2021-09-05 19:39:21 -040019 <version>4.22.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.aarch64</artifactId>
Sravan Kumar Lakkimsettiab657922021-09-17 09:16:21 +053024 <version>3.118.0-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>aarch64</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>
Alexander Kurtakov90bcf4b2020-10-15 18:55:11 +030044 <property name="eclipse.version" value="${releaseNumberSDK}" />
Alexander Kurtakovc07b2162015-11-18 19:25:01 +020045 <ant antfile="build.xml" target="swtdownload"/>
46 </target>
47 </configuration>
48 <goals>
49 <goal>run</goal>
50 </goals>
51 </execution>
52 </executions>
53 </plugin>
54 </plugins>
55 </build>
56
57 <!-- This has to be here. Profiles are not inheritable. -->
58 <profiles>
59 <profile>
60 <id>build-natives</id>
61 <activation>
62 <property>
63 <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( -->
64 <name>native</name>
65 <value>gtk.linux.aarch64</value>
66 </property>
67 </activation>
68 <build>
69 <plugins>
70 <plugin>
71 <artifactId>maven-antrun-plugin</artifactId>
72 <executions>
73 <execution>
74 <id>natives</id>
75 <phase>process-resources</phase>
76 <configuration>
77 <target>
Alexander Kurtakovc07b2162015-11-18 19:25:01 +020078 <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>