Rolf Theunissen | 9668551 | 2018-03-11 11:15:34 +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 | # Rolf Theunissen - SWT/GTK port on Windows |
| 13 | ############################################################################### |
| 14 | --> |
| 15 | <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"> |
| 16 | <modelVersion>4.0.0</modelVersion> |
| 17 | <parent> |
| 18 | <artifactId>binaries-parent</artifactId> |
| 19 | <groupId>eclipse.platform.swt.binaries</groupId> |
Sravan Kumar Lakkimsetti | f775acd | 2018-09-04 11:50:43 +0530 | [diff] [blame] | 20 | <version>4.10.0-SNAPSHOT</version> |
Rolf Theunissen | 9668551 | 2018-03-11 11:15:34 +0100 | [diff] [blame] | 21 | <relativePath>../binaries-parent/</relativePath> |
| 22 | </parent> |
| 23 | <groupId>org.eclipse.swt</groupId> |
| 24 | <artifactId>org.eclipse.swt.gtk.win32.x86_64</artifactId> |
Lakshmi Shanmugam | 353726a | 2018-11-20 09:25:30 +0530 | [diff] [blame] | 25 | <version>3.109.0-SNAPSHOT</version> |
Rolf Theunissen | 9668551 | 2018-03-11 11:15:34 +0100 | [diff] [blame] | 26 | <packaging>eclipse-plugin</packaging> |
| 27 | |
| 28 | <properties> |
| 29 | <os>win32</os> |
| 30 | <ws>gtk</ws> |
| 31 | <arch>x86_64</arch> |
| 32 | <buildid>${buildId}</buildid> |
| 33 | </properties> |
| 34 | |
| 35 | <build> |
| 36 | <plugins> |
| 37 | <plugin> |
| 38 | <artifactId>maven-antrun-plugin</artifactId> |
| 39 | <executions> |
| 40 | <execution> |
| 41 | <id>swtdownload</id> |
| 42 | <phase>package</phase> |
| 43 | <configuration> |
| 44 | <target> |
| 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> |
| 65 | <value>gtk.win32.x86_64</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> |
| 78 | <property name="machine_gtk3" value="1"/> |
| 79 | <property name="targets" value="install" /> |
| 80 | <ant antfile="build.xml" target="build_libraries"/> |
| 81 | </target> |
| 82 | </configuration> |
| 83 | <goals> |
| 84 | <goal>run</goal> |
| 85 | </goals> |
| 86 | </execution> |
| 87 | </executions> |
| 88 | </plugin> |
| 89 | </plugins> |
| 90 | </build> |
| 91 | </profile> |
| 92 | </profiles> |
| 93 | </project> |