Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt.carbon.macosx/pom.xml')
-rw-r--r--bundles/org.eclipse.swt.carbon.macosx/pom.xml71
1 files changed, 71 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt.carbon.macosx/pom.xml b/bundles/org.eclipse.swt.carbon.macosx/pom.xml
index eea63acb8..dd5c2baa9 100644
--- a/bundles/org.eclipse.swt.carbon.macosx/pom.xml
+++ b/bundles/org.eclipse.swt.carbon.macosx/pom.xml
@@ -30,8 +30,79 @@
<os>macosx</os>
<ws>carbon</ws>
<arch>x86</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}.zip" todir="target" />
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
<!-- This has to be here. Profiles are not inheritable. -->
<profiles>
<profile>

Back to the top