diff options
author | Markus Knauer | 2014-03-07 17:02:43 +0000 |
---|---|---|
committer | Markus Knauer | 2014-03-07 21:05:18 +0000 |
commit | ecf0e2310eeed9b30305606ecdf79db5ad77115b (patch) | |
tree | 4b130fd719b70d5ed5bfb5c9756fc4fd9fa0745f /packages/org.eclipse.epp.package.jee.product | |
parent | d237984161d39db3ee24ab5438f08194b7426aed (diff) | |
download | org.eclipse.epp.packages-ecf0e2310eeed9b30305606ecdf79db5ad77115b.tar.gz org.eclipse.epp.packages-ecf0e2310eeed9b30305606ecdf79db5ad77115b.tar.xz org.eclipse.epp.packages-ecf0e2310eeed9b30305606ecdf79db5ad77115b.zip |
Solve symbolic link in Mac OSX .tar archives
The solution replaces the tycho-p2-director:archive-products with a Bash
shell script that uses the native tar + gzip + zip implementations.
See bug 424769: Symbolic link missing from "Mac packages"
https://bugs.eclipse.org/bugs/show_bug.cgi?id=424769
Change-Id: Ie65f98015ab8350e708b102357fa8dbe88962f66
Signed-off-by: Markus Knauer <mknauer@eclipsesource.com>
Diffstat (limited to 'packages/org.eclipse.epp.package.jee.product')
-rw-r--r-- | packages/org.eclipse.epp.package.jee.product/.forceQualifierUpdate | 1 | ||||
-rw-r--r-- | packages/org.eclipse.epp.package.jee.product/pom.xml | 49 |
2 files changed, 37 insertions, 13 deletions
diff --git a/packages/org.eclipse.epp.package.jee.product/.forceQualifierUpdate b/packages/org.eclipse.epp.package.jee.product/.forceQualifierUpdate new file mode 100644 index 00000000..546a7b5d --- /dev/null +++ b/packages/org.eclipse.epp.package.jee.product/.forceQualifierUpdate @@ -0,0 +1 @@ +4.4.0.20140307-2050 diff --git a/packages/org.eclipse.epp.package.jee.product/pom.xml b/packages/org.eclipse.epp.package.jee.product/pom.xml index 316ffac0..e42aa4f8 100644 --- a/packages/org.eclipse.epp.package.jee.product/pom.xml +++ b/packages/org.eclipse.epp.package.jee.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> |