Bug 390020 - Create the swt-<buildId>-gtk-linux-x86.zip file
diff --git a/bundles/org.eclipse.swt.gtk.linux.ppc64/pom.xml b/bundles/org.eclipse.swt.gtk.linux.ppc64/pom.xml
index 5edf346..b6201cb 100644
--- a/bundles/org.eclipse.swt.gtk.linux.ppc64/pom.xml
+++ b/bundles/org.eclipse.swt.gtk.linux.ppc64/pom.xml
@@ -30,6 +30,7 @@
<os>linux</os>
<ws>gtk</ws>
<arch>ppc64</arch>
+ <buildid>${buildId}</buildid>
</properties>
<!--dependencies>
@@ -41,6 +42,76 @@
</dependency>
</dependencies-->
+ <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>