Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Elder2014-04-16 14:03:10 -0400
committerPaul Elder2014-04-16 14:03:10 -0400
commitd5e2c99bd118adb655ad9808a407b4b3058d1216 (patch)
tree5bdc3609de5f17a86318cc1b0f59a644e2ca37a5
parent54b8d49f998e233368d3c459d0d9dd62cd92faaa (diff)
downloadorg.eclipse.jet-d5e2c99bd118adb655ad9808a407b4b3058d1216.tar.gz
org.eclipse.jet-d5e2c99bd118adb655ad9808a407b4b3058d1216.tar.xz
org.eclipse.jet-d5e2c99bd118adb655ad9808a407b4b3058d1216.zip
Bug 432951 - Add Jar signing to JET's Maven build
-rw-r--r--pom.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 54f37f0..41a28c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,6 +25,20 @@
<version>1.3.0-SNAPSHOT</version>
<packaging>pom</packaging>
+ <!-- location of Eclipse-provided 'CBI' plugins -->
+ <pluginRepositories>
+ <pluginRepository>
+ <id>cbi</id>
+ <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
<modules>
<module>plugins/org.eclipse.jet.core</module>
<module>plugins/org.eclipse.jet</module>
@@ -184,6 +198,27 @@
</build>
<profiles>
+ <profile>
+ <id>eclipse-sign</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>1.0.4</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ <phase>verify</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<profile>
<id>luna.target</id>
<activation>

Back to the top