Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ############################################################################### |
Silenio Quarti | 16c85ca | 2013-02-25 12:32:30 -0500 | [diff] [blame] | 4 | # Copyright (c) 2012, 2013 Red Hat, Inc and others. |
Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 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 | --> |
Silenio Quarti | 291e6d2 | 2013-03-27 12:25:35 -0400 | [diff] [blame] | 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"> |
Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 15 | <modelVersion>4.0.0</modelVersion> |
| 16 | <parent> |
| 17 | <artifactId>binaries-parent</artifactId> |
| 18 | <groupId>eclipse.platform.swt.binaries</groupId> |
Silenio Quarti | 291e6d2 | 2013-03-27 12:25:35 -0400 | [diff] [blame] | 19 | <version>4.3.0-SNAPSHOT</version> |
Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 20 | <relativePath>../binaries-parent/</relativePath> |
| 21 | </parent> |
Silenio Quarti | 16c85ca | 2013-02-25 12:32:30 -0500 | [diff] [blame] | 22 | <groupId>org.eclipse.swt</groupId> |
Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 23 | <artifactId>org.eclipse.swt.photon.qnx.x86</artifactId> |
| 24 | <version>3.7.0-SNAPSHOT</version> |
| 25 | <packaging>eclipse-plugin</packaging> |
| 26 | |
| 27 | <properties> |
| 28 | <os>qnx</os> |
| 29 | <ws>photon</ws> |
| 30 | <arch>x86</arch> |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 31 | <buildid>${buildId}</buildid> |
Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 32 | </properties> |
| 33 | |
| 34 | <!--dependencies> |
| 35 | <dependency> |
| 36 | <groupId>eclipse.platform.swt.binaries</groupId> |
| 37 | <artifactId>binaries-parent</artifactId> |
| 38 | <version>1.0</version> |
| 39 | <type>pom</type> |
| 40 | </dependency> |
| 41 | </dependencies--> |
| 42 | |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 43 | <build> |
| 44 | <plugins> |
| 45 | <plugin> |
| 46 | <artifactId>maven-antrun-plugin</artifactId> |
| 47 | <version>1.7</version> |
| 48 | <executions> |
| 49 | <execution> |
| 50 | <id>swtdownload</id> |
| 51 | <phase>package</phase> |
| 52 | <configuration> |
| 53 | <target> |
Silenio Quarti | 291e6d2 | 2013-03-27 12:25:35 -0400 | [diff] [blame] | 54 | <ant antfile="build.xml" target="swtdownload"/> |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 55 | </target> |
| 56 | </configuration> |
| 57 | <goals> |
| 58 | <goal>run</goal> |
| 59 | </goals> |
| 60 | </execution> |
Silenio Quarti | f43267a | 2013-02-13 11:38:52 -0500 | [diff] [blame] | 61 | <execution> |
| 62 | <id>copy-swtzip-to-target</id> |
| 63 | <phase>package</phase> |
| 64 | <goals> |
| 65 | <goal>run</goal> |
| 66 | </goals> |
| 67 | <configuration> |
| 68 | <target> |
Silenio Quarti | 291e6d2 | 2013-03-27 12:25:35 -0400 | [diff] [blame] | 69 | <move file="swt-${buildId}-${ws}-${os}-${arch}.zip" todir="target"/> |
Silenio Quarti | f43267a | 2013-02-13 11:38:52 -0500 | [diff] [blame] | 70 | </target> |
| 71 | </configuration> |
| 72 | </execution> |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 73 | </executions> |
| 74 | <dependencies> |
| 75 | <dependency> |
| 76 | <groupId>com.sun</groupId> |
| 77 | <artifactId>tools</artifactId> |
| 78 | <version>0.0.0</version> |
| 79 | <scope>system</scope> |
Silenio Quarti | ce653cc | 2013-01-25 12:44:42 -0500 | [diff] [blame] | 80 | <systemPath>${toolsjar}</systemPath> |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>bsf</groupId> |
| 84 | <artifactId>bsf</artifactId> |
| 85 | <version>2.4.0</version> |
| 86 | </dependency> |
| 87 | <dependency> |
| 88 | <groupId>rhino</groupId> |
| 89 | <artifactId>js</artifactId> |
| 90 | <version>1.7R2</version> |
| 91 | </dependency> |
| 92 | <dependency> |
| 93 | <groupId>org.apache.ant</groupId> |
| 94 | <artifactId>ant-apache-bsf</artifactId> |
| 95 | <version>1.8.3</version> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>org.apache.ant</groupId> |
| 99 | <artifactId>ant-nodeps</artifactId> |
| 100 | <version>1.8.1</version> |
| 101 | </dependency> |
| 102 | </dependencies> |
| 103 | </plugin> |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 104 | </plugins> |
| 105 | </build> |
| 106 | |
Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 107 | <!-- This has to be here. Profiles are not inheritable. --> |
| 108 | <profiles> |
| 109 | <profile> |
| 110 | <id>build-natives</id> |
| 111 | <activation> |
| 112 | <property> |
| 113 | <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( --> |
| 114 | <name>native</name> |
| 115 | <value>photon.qnx.x86</value> |
| 116 | </property> |
| 117 | </activation> |
| 118 | <build> |
| 119 | <plugins> |
| 120 | <plugin> |
| 121 | <artifactId>maven-antrun-plugin</artifactId> |
| 122 | <version>1.7</version> |
| 123 | <executions> |
| 124 | <execution> |
| 125 | <id>natives</id> |
| 126 | <phase>process-resources</phase> |
| 127 | <configuration> |
| 128 | <target> |
Silenio Quarti | 291e6d2 | 2013-03-27 12:25:35 -0400 | [diff] [blame] | 129 | <ant antfile="build.xml" target="build_libraries"/> |
Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 130 | </target> |
| 131 | </configuration> |
| 132 | <goals> |
| 133 | <goal>run</goal> |
| 134 | </goals> |
| 135 | </execution> |
| 136 | </executions> |
| 137 | <dependencies> |
| 138 | <dependency> |
| 139 | <groupId>bsf</groupId> |
| 140 | <artifactId>bsf</artifactId> |
| 141 | <version>2.4.0</version> |
| 142 | </dependency> |
| 143 | <dependency> |
| 144 | <groupId>rhino</groupId> |
| 145 | <artifactId>js</artifactId> |
| 146 | <version>1.7R2</version> |
| 147 | </dependency> |
| 148 | <dependency> |
| 149 | <groupId>org.apache.ant</groupId> |
| 150 | <artifactId>ant-apache-bsf</artifactId> |
| 151 | <version>1.8.3</version> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>org.apache.ant</groupId> |
| 155 | <artifactId>ant-nodeps</artifactId> |
| 156 | <version>1.8.1</version> |
| 157 | </dependency> |
| 158 | </dependencies> |
| 159 | </plugin> |
| 160 | </plugins> |
| 161 | </build> |
| 162 | </profile> |
| 163 | </profiles> |
| 164 | </project> |