diff options
Diffstat (limited to 'bundles/org.eclipse.swt.cocoa.macosx.x86_64/pom.xml')
-rw-r--r-- | bundles/org.eclipse.swt.cocoa.macosx.x86_64/pom.xml | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt.cocoa.macosx.x86_64/pom.xml b/bundles/org.eclipse.swt.cocoa.macosx.x86_64/pom.xml index ef09ff4bc..df34b044e 100644 --- a/bundles/org.eclipse.swt.cocoa.macosx.x86_64/pom.xml +++ b/bundles/org.eclipse.swt.cocoa.macosx.x86_64/pom.xml @@ -30,8 +30,79 @@ <os>macosx</os> <ws>cocoa</ws> <arch>x86_64</arch> + <buildid>${buildId}</buildid> </properties> + <build> + <plugins> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <id>swtdownload</id> + <phase>package</phase> + <configuration> + <target> + <ant antfile="build.xml" target="swtdownload" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + <dependencies> + <dependency> + <groupId>com.sun</groupId> + <artifactId>tools</artifactId> + <version>0.0.0</version> + <scope>system</scope> + <systemPath>${java.home}/../lib/tools.jar</systemPath> + </dependency> + <dependency> + <groupId>bsf</groupId> + <artifactId>bsf</artifactId> + <version>2.4.0</version> + </dependency> + <dependency> + <groupId>rhino</groupId> + <artifactId>js</artifactId> + <version>1.7R2</version> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-apache-bsf</artifactId> + <version>1.8.3</version> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-nodeps</artifactId> + <version>1.8.1</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <id>copy-swtzip-to-target</id> + <phase>package</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <move file="swt-${buildId}-${ws}-${os}-${arch}.zip" todir="target" /> + </target> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + <!-- This has to be here. Profiles are not inheritable. --> <profiles> <profile> |