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