diff options
Diffstat (limited to 'packages/org.eclipse.epp.package.modeling.product/pom.xml')
-rw-r--r-- | packages/org.eclipse.epp.package.modeling.product/pom.xml | 49 |
1 files changed, 36 insertions, 13 deletions
diff --git a/packages/org.eclipse.epp.package.modeling.product/pom.xml b/packages/org.eclipse.epp.package.modeling.product/pom.xml index 6501f433..9bb327a4 100644 --- a/packages/org.eclipse.epp.package.modeling.product/pom.xml +++ b/packages/org.eclipse.epp.package.modeling.product/pom.xml @@ -76,25 +76,12 @@ <goal>materialize-products</goal> </goals> </execution> - <execution> - <id>archive-products</id> - <phase>pre-integration-test</phase> - <goals> - <goal>archive-products</goal> - </goals> - </execution> </executions> <configuration> - <formats> - <win32>zip</win32> - <linux>tar.gz</linux> - <macosx>tar.gz</macosx> - </formats> <products> <product> <id>${project.artifactId}</id> <rootFolder>eclipse</rootFolder> - <archiveFileName>${build}_eclipse-${eclipse.epp.id}-${eclipse.simultaneous.release.id}</archiveFileName> </product> </products> <profile>${project.artifactId}</profile> @@ -105,6 +92,42 @@ <profiles> <profile> + <id>archiving</id> + <!-- This profile is only activated when running the build on a Unix-like OS where we can expect a working Bash --> + <activation> + <activeByDefault>false</activeByDefault> + <os> + <family>unix</family> + </os> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.2.1</version> + <executions> + <execution> + <id>archive-products</id> + <phase>pre-integration-test</phase> + <goals> + <goal>exec</goal> + </goals> + </execution> + </executions> + <configuration> + <executable>${basedir}/../../releng/org.eclipse.epp.config/tools/createArchives.sh</executable> + <arguments> + <argument>${eclipse.epp.archiveDirectory}</argument> + <argument>${project.build.directory}/products/epp.package.${eclipse.epp.id}</argument> + <argument>${build}_eclipse-${eclipse.epp.id}-${eclipse.simultaneous.release.id}</argument> + </arguments> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <profile> <id>eclipse-sign</id> <build> <plugins> |