1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-03-28 14:56:28 +01:00

Bug 575654 - fix packaging order

Change-Id: I2d41d42f55a54cc8f0b0b437f78025d9a91aa3c4
Signed-off-by: Greg Watson <g.watson@computer.org>
This commit is contained in:
Greg Watson 2021-09-01 09:11:29 -04:00
parent fc1583b7d8
commit 3f49713898

View file

@ -45,38 +45,46 @@
</product>
</products>
</configuration>
<executions>
<execution>
<id>materialize-products</id>
<goals>
<goal>materialize-products</goal>
</goals>
</execution>
<execution>
<id>archive-products</id>
<!-- must run after signing -->
<phase>pre-integration-test</phase>
<goals>
<goal>archive-products</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>create-distributions</id>
<id>copy-built-proxy-servers-to-individual-bundles</id>
<!-- must run after signing *and* after archiving -->
<phase>pre-integration-test</phase>
<goals>
<goal>materialize-products</goal>
<goal>archive-products</goal>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy file="${project.build.directory}/products/proxy.server-linux.gtk.x86_64.tar.gz"
tofile="${basedir}/../org.eclipse.remote.proxy.server.linux.x86_64/proxy.server.tar.gz"/>
<copy file="${project.build.directory}/products/proxy.server-linux.gtk.ppc64le.tar.gz"
tofile="${basedir}/../org.eclipse.remote.proxy.server.linux.ppc64le/proxy.server.tar.gz"/>
<copy file="${project.build.directory}/products/proxy.server-macosx.cocoa.x86_64.tar.gz"
tofile="${basedir}/../org.eclipse.remote.proxy.server.macosx.x86_64/proxy.server.tar.gz"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>copy-built-proxy-servers-to-individual-bundles</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copy file="${project.build.directory}/products/proxy.server-linux.gtk.x86_64.tar.gz"
tofile="${basedir}/../org.eclipse.remote.proxy.server.linux.x86_64/proxy.server.tar.gz"/>
<copy file="${project.build.directory}/products/proxy.server-linux.gtk.ppc64le.tar.gz"
tofile="${basedir}/../org.eclipse.remote.proxy.server.linux.ppc64le/proxy.server.tar.gz"/>
<copy file="${project.build.directory}/products/proxy.server-macosx.cocoa.x86_64.tar.gz"
tofile="${basedir}/../org.eclipse.remote.proxy.server.macosx.x86_64/proxy.server.tar.gz"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>