Lakshmi Shanmugam | e9a10a8 | 2021-01-15 12:37:32 +0100 | [diff] [blame] | 1 | <?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 Lakkimsetti | 0887086 | 2022-03-04 18:59:54 +0530 | [diff] [blame] | 19 | <version>4.24.0-SNAPSHOT</version> |
Lakshmi Shanmugam | e9a10a8 | 2021-01-15 12:37:32 +0100 | [diff] [blame] | 20 | <relativePath>../binaries-parent/</relativePath> |
| 21 | </parent> |
| 22 | <groupId>org.eclipse.swt</groupId> |
Lakshmi Shanmugam | 3abba70 | 2021-04-22 11:41:37 +0200 | [diff] [blame] | 23 | <artifactId>org.eclipse.swt.cocoa.macosx.aarch64</artifactId> |
Alexander Kurtakov | 519b26f | 2022-03-07 19:41:04 +0200 | [diff] [blame] | 24 | <version>3.119.100-SNAPSHOT</version> |
Lakshmi Shanmugam | e9a10a8 | 2021-01-15 12:37:32 +0100 | [diff] [blame] | 25 | <packaging>eclipse-plugin</packaging> |
| 26 | |
| 27 | <properties> |
| 28 | <os>macosx</os> |
| 29 | <ws>cocoa</ws> |
Lakshmi Shanmugam | 3abba70 | 2021-04-22 11:41:37 +0200 | [diff] [blame] | 30 | <arch>aarch64</arch> |
Lakshmi Shanmugam | e9a10a8 | 2021-01-15 12:37:32 +0100 | [diff] [blame] | 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 | <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 Shanmugam | 3abba70 | 2021-04-22 11:41:37 +0200 | [diff] [blame] | 65 | <value>cocoa.macosx.aarch64</value> |
Lakshmi Shanmugam | e9a10a8 | 2021-01-15 12:37:32 +0100 | [diff] [blame] | 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> |
| 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> |