Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikael Barbero2017-04-13 09:24:57 +0000
committerMarkus Knauer2017-05-25 08:35:29 +0000
commite6f02e6816fbe247d62d59847965d052dae2b06e (patch)
tree6d960386b563a2bd7df305f4a15870a218e24c54 /releng/org.eclipse.epp.config/parent
parentcc76004264bc6d1503c29cdacdece6faae2d95b7 (diff)
downloadorg.eclipse.epp.packages-e6f02e6816fbe247d62d59847965d052dae2b06e.tar.gz
org.eclipse.epp.packages-e6f02e6816fbe247d62d59847965d052dae2b06e.tar.xz
org.eclipse.epp.packages-e6f02e6816fbe247d62d59847965d052dae2b06e.zip
Bug 106350 - Distribute signed DMG on macOS platform
Change-Id: I44358f8d160b9a4cdf0c32ad111546ef592cc0d6 Signed-off-by: Mikael Barbero <mikael@eclipse.org>
Diffstat (limited to 'releng/org.eclipse.epp.config/parent')
-rw-r--r--releng/org.eclipse.epp.config/parent/bundle-feature/pom.xml7
-rw-r--r--releng/org.eclipse.epp.config/parent/pom.xml12
-rw-r--r--releng/org.eclipse.epp.config/parent/product/pom.xml29
3 files changed, 38 insertions, 10 deletions
diff --git a/releng/org.eclipse.epp.config/parent/bundle-feature/pom.xml b/releng/org.eclipse.epp.config/parent/bundle-feature/pom.xml
index 4798f76c..c88a5bc6 100644
--- a/releng/org.eclipse.epp.config/parent/bundle-feature/pom.xml
+++ b/releng/org.eclipse.epp.config/parent/bundle-feature/pom.xml
@@ -31,13 +31,6 @@
<profile>
<id>eclipse-sign-jar</id>
- <pluginRepositories>
- <pluginRepository>
- <id>eclipse-cbi</id>
- <url>https://repo.eclipse.org/content/groups/cbi/</url>
- </pluginRepository>
- </pluginRepositories>
-
<build>
<plugins>
<plugin>
diff --git a/releng/org.eclipse.epp.config/parent/pom.xml b/releng/org.eclipse.epp.config/parent/pom.xml
index 6fab79fc..9c9e924c 100644
--- a/releng/org.eclipse.epp.config/parent/pom.xml
+++ b/releng/org.eclipse.epp.config/parent/pom.xml
@@ -28,7 +28,7 @@
<tycho.version>0.25.0</tycho.version>
<tycho.extras.version>${tycho.version}</tycho.extras.version>
<tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/epp/org.eclipse.epp.packages.git</tycho.scmUrl>
- <cbi.version>1.1.2</cbi.version>
+ <cbi.version>1.1.4</cbi.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format>
<build>${maven.build.timestamp}</build>
@@ -63,7 +63,7 @@
</pluginRepository>
<pluginRepository>
<id>eclipse-cbi</id>
- <url>https://repo.eclipse.org/content/repositories/releases/</url>
+ <url>https://repo.eclipse.org/content/groups/cbi/</url>
</pluginRepository>
</pluginRepositories>
@@ -354,6 +354,11 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-dmg-packager</artifactId>
+ <version>${cbi.version}</version>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
@@ -366,7 +371,8 @@
<copy todir="${basedir}/../../archive">
<fileset dir="${project.build.directory}/products">
<include name="*.zip" />
- <include name="*.tar.gz" />
+ <include name="*linux*.tar.gz" />
+ <include name="*.dmg" />
</fileset>
</copy>
</target>
diff --git a/releng/org.eclipse.epp.config/parent/product/pom.xml b/releng/org.eclipse.epp.config/parent/product/pom.xml
index 226b5a0c..57f32454 100644
--- a/releng/org.eclipse.epp.config/parent/product/pom.xml
+++ b/releng/org.eclipse.epp.config/parent/product/pom.xml
@@ -26,6 +26,10 @@
<artifactId>org.eclipse.epp-product-parent</artifactId>
<packaging>pom</packaging>
+ <properties>
+ <eclipse-sign-dmg-property>false</eclipse-sign-dmg-property>
+ </properties>
+
<build>
<plugins>
@@ -76,6 +80,23 @@
</plugin>
<plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-dmg-packager</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>package-dmg</goal>
+ </goals>
+ <phase>pre-integration-test</phase>
+ <configuration>
+ <source>${project.build.directory}/products/${build}_eclipse-${eclipse.epp.id}-${eclipse.simultaneous.release.id}-macosx.cocoa.x86_64.tar.gz</source>
+ <sign>${eclipse-sign-dmg-property}</sign>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
@@ -140,5 +161,13 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>eclipse-sign-dmg</id>
+ <properties>
+ <eclipse-sign-dmg-property>true</eclipse-sign-dmg-property>
+ </properties>
+ </profile>
+
</profiles>
</project> \ No newline at end of file

Back to the top