Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Prouvost2018-03-13 13:03:20 -0400
committerOlivier Prouvost2018-03-13 13:03:20 -0400
commitcf01abebd79cb50877f676df5c7b2c553d598cb3 (patch)
treedc81c663404cb93134b10098a088d0f789a52941
parentcebccc2848b5e2c57ef07ea452d4c902768cc1b5 (diff)
downloadorg.eclipse.e4.tools-cf01abebd79cb50877f676df5c7b2c553d598cb3.tar.gz
org.eclipse.e4.tools-cf01abebd79cb50877f676df5c7b2c553d598cb3.tar.xz
org.eclipse.e4.tools-cf01abebd79cb50877f676df5c7b2c553d598cb3.zip
Bug 528780 - The E4 spies build should sign its jar
First try to check if gerrit launches a build with sign profile Change-Id: I0bbcbcabf11cc4f086d87eb2cb2d25b4201402ff Signed-off-by: Olivier Prouvost <olivier.prouvost@opcoach.com>
-rw-r--r--pom.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 509ff43f..8d0d4e3f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,6 +29,7 @@
<tycho.scmUrl>scm:git:http://git.eclipse.org/gitroot/e4/org.eclipse.e4.tools</tycho.scmUrl>
</properties>
+
<repositories>
<repository>
<releases>
@@ -41,7 +42,17 @@
<url>https://repo.eclipse.org/content/repositories/eclipse/</url>
</repository>
</repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>repo.eclipse.org.cbi-releases</id>
+ <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+
+
<modules>
<module>./bundles/org.eclipse.e4.tools.model.spy</module>
<module>./bundles/org.eclipse.e4.tools.css.spy</module>
@@ -82,5 +93,31 @@
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>sign</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>1.1.4</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+
</project>

Back to the top