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 | 38c5cce | 2013-06-26 12:26:02 -0400 | [diff] [blame] | 19 | <version>4.4.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.gtk.linux.ppc64</artifactId> |
Silenio Quarti | 3eae804 | 2013-03-11 16:25:37 -0400 | [diff] [blame] | 24 | <version>3.102.0-SNAPSHOT</version> |
Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 25 | <packaging>eclipse-plugin</packaging> |
| 26 | |
| 27 | <properties> |
| 28 | <os>linux</os> |
| 29 | <ws>gtk</ws> |
| 30 | <arch>ppc64</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 | |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 34 | <build> |
| 35 | <plugins> |
| 36 | <plugin> |
| 37 | <artifactId>maven-antrun-plugin</artifactId> |
| 38 | <version>1.7</version> |
| 39 | <executions> |
| 40 | <execution> |
| 41 | <id>swtdownload</id> |
| 42 | <phase>package</phase> |
| 43 | <configuration> |
| 44 | <target> |
Silenio Quarti | 291e6d2 | 2013-03-27 12:25:35 -0400 | [diff] [blame] | 45 | <ant antfile="build.xml" target="swtdownload"/> |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 46 | </target> |
| 47 | </configuration> |
| 48 | <goals> |
| 49 | <goal>run</goal> |
| 50 | </goals> |
| 51 | </execution> |
Silenio Quarti | f43267a | 2013-02-13 11:38:52 -0500 | [diff] [blame] | 52 | <execution> |
| 53 | <id>copy-swtzip-to-target</id> |
| 54 | <phase>package</phase> |
| 55 | <goals> |
| 56 | <goal>run</goal> |
| 57 | </goals> |
| 58 | <configuration> |
| 59 | <target> |
Silenio Quarti | 291e6d2 | 2013-03-27 12:25:35 -0400 | [diff] [blame] | 60 | <move file="swt-${buildId}-${ws}-${os}-${arch}.zip" todir="target"/> |
Silenio Quarti | f43267a | 2013-02-13 11:38:52 -0500 | [diff] [blame] | 61 | </target> |
| 62 | </configuration> |
| 63 | </execution> |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 64 | </executions> |
| 65 | <dependencies> |
| 66 | <dependency> |
| 67 | <groupId>com.sun</groupId> |
| 68 | <artifactId>tools</artifactId> |
| 69 | <version>0.0.0</version> |
| 70 | <scope>system</scope> |
Silenio Quarti | ce653cc | 2013-01-25 12:44:42 -0500 | [diff] [blame] | 71 | <systemPath>${toolsjar}</systemPath> |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>bsf</groupId> |
| 75 | <artifactId>bsf</artifactId> |
| 76 | <version>2.4.0</version> |
| 77 | </dependency> |
| 78 | <dependency> |
| 79 | <groupId>rhino</groupId> |
| 80 | <artifactId>js</artifactId> |
| 81 | <version>1.7R2</version> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>org.apache.ant</groupId> |
| 85 | <artifactId>ant-apache-bsf</artifactId> |
| 86 | <version>1.8.3</version> |
| 87 | </dependency> |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 88 | </dependencies> |
| 89 | </plugin> |
Thanh Ha | 262b84f | 2012-11-22 16:56:14 -0500 | [diff] [blame] | 90 | </plugins> |
| 91 | </build> |
| 92 | |
Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 93 | <!-- This has to be here. Profiles are not inheritable. --> |
| 94 | <profiles> |
| 95 | <profile> |
| 96 | <id>build-natives</id> |
| 97 | <activation> |
| 98 | <property> |
| 99 | <!-- This has to be hardcoded. Profiles are not allowed to use pom defined properties :-( --> |
| 100 | <name>native</name> |
| 101 | <value>gtk.linux.ppc64</value> |
| 102 | </property> |
| 103 | </activation> |
| 104 | <build> |
| 105 | <plugins> |
| 106 | <plugin> |
| 107 | <artifactId>maven-antrun-plugin</artifactId> |
| 108 | <version>1.7</version> |
| 109 | <executions> |
| 110 | <execution> |
| 111 | <id>natives</id> |
| 112 | <phase>process-resources</phase> |
| 113 | <configuration> |
| 114 | <target> |
Silenio Quarti | 291e6d2 | 2013-03-27 12:25:35 -0400 | [diff] [blame] | 115 | <ant antfile="build.xml" target="build_libraries"/> |
Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 116 | </target> |
| 117 | </configuration> |
| 118 | <goals> |
| 119 | <goal>run</goal> |
| 120 | </goals> |
| 121 | </execution> |
| 122 | </executions> |
| 123 | <dependencies> |
| 124 | <dependency> |
| 125 | <groupId>bsf</groupId> |
| 126 | <artifactId>bsf</artifactId> |
| 127 | <version>2.4.0</version> |
| 128 | </dependency> |
| 129 | <dependency> |
| 130 | <groupId>rhino</groupId> |
| 131 | <artifactId>js</artifactId> |
| 132 | <version>1.7R2</version> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>org.apache.ant</groupId> |
| 136 | <artifactId>ant-apache-bsf</artifactId> |
| 137 | <version>1.8.3</version> |
| 138 | </dependency> |
Bogdan Gheorghe | 56f15f0 | 2013-01-08 16:37:53 -0500 | [diff] [blame] | 139 | </dependencies> |
| 140 | </plugin> |
| 141 | </plugins> |
| 142 | </build> |
| 143 | </profile> |
| 144 | </profiles> |
| 145 | </project> |