blob: 52a048cc0773735d6ede840be6c62961ba060579 [file] [log] [blame]
Lakshmi Shanmugame9a10a82021-01-15 12:37:32 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3###############################################################################
4# Copyright (c) 2012, 2013 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# Krzysztof Daniel, Red Hat, Inc and others. - 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>
Sravan Kumar Lakkimsetti3b0d00a2021-06-03 20:45:27 +053019 <version>4.21.0-SNAPSHOT</version>
Lakshmi Shanmugame9a10a82021-01-15 12:37:32 +010020 <relativePath>../binaries-parent/</relativePath>
21 </parent>
22 <groupId>org.eclipse.swt</groupId>
Lakshmi Shanmugam3abba702021-04-22 11:41:37 +020023 <artifactId>org.eclipse.swt.cocoa.macosx.aarch64</artifactId>
Alexander Kurtakovc49bdd32021-03-09 09:40:07 +020024 <version>3.116.100-SNAPSHOT</version>
Lakshmi Shanmugame9a10a82021-01-15 12:37:32 +010025 <packaging>eclipse-plugin</packaging>
26
27 <properties>
28 <os>macosx</os>
29 <ws>cocoa</ws>
Lakshmi Shanmugam3abba702021-04-22 11:41:37 +020030 <arch>aarch64</arch>
Lakshmi Shanmugame9a10a82021-01-15 12:37:32 +010031 <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 <property name="eclipse.version" value="${releaseNumberSDK}" />
45 <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>
Lakshmi Shanmugam3abba702021-04-22 11:41:37 +020065 <value>cocoa.macosx.aarch64</value>
Lakshmi Shanmugame9a10a82021-01-15 12:37:32 +010066 </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>
78 <ant antfile="build.xml" target="build_libraries"/>
79 </target>
80 </configuration>
81 <goals>
82 <goal>run</goal>
83 </goals>
84 </execution>
85 </executions>
86 </plugin>
87 </plugins>
88 </build>
89 </profile>
90 </profiles>
91</project>