Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Knauer2014-03-07 17:02:43 +0000
committerMarkus Knauer2014-03-07 21:05:18 +0000
commitecf0e2310eeed9b30305606ecdf79db5ad77115b (patch)
tree4b130fd719b70d5ed5bfb5c9756fc4fd9fa0745f /packages/org.eclipse.epp.package.modeling.product/pom.xml
parentd237984161d39db3ee24ab5438f08194b7426aed (diff)
downloadorg.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.modeling.product/pom.xml')
-rw-r--r--packages/org.eclipse.epp.package.modeling.product/pom.xml49
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>

Back to the top