aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanh Ha2014-05-15 15:54:29 (EDT)
committerThanh Ha2014-05-15 16:09:22 (EDT)
commit202e5a6950dbafbacc8c11d87639bdb6f5ab75d8 (patch)
tree04eaf9139fc559e0ab867d5545c560f61b704c7b
parent4519972b4d1182deb18980cf2ddda346967bb4cc (diff)
downloadorg.eclipse.hudson.core-202e5a6950dbafbacc8c11d87639bdb6f5ab75d8.zip
org.eclipse.hudson.core-202e5a6950dbafbacc8c11d87639bdb6f5ab75d8.tar.gz
org.eclipse.hudson.core-202e5a6950dbafbacc8c11d87639bdb6f5ab75d8.tar.bz2
Bug 435006 - Sign Hudson jars using CBI signing servicerefs/changes/94/26694/1
Signed-off-by: Thanh Ha <thanh.ha@eclipse.org>
-rw-r--r--pom.xml32
1 files changed, 31 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index f00d4e8..cd558b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,6 +78,8 @@
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
<build.timestamp>${maven.build.timestamp}</build.timestamp>
<build.number />
+
+ <cbi-plugins.version>1.0.5</cbi-plugins.version>
<jetty.server.version>8.1.7.v20120910</jetty.server.version>
<jetty.javax.serverlet.version>3.0.0.v201112011016</jetty.javax.serverlet.version>
@@ -218,6 +220,13 @@
<module>hudson-test-framework</module>
<module>hudson-plugin-parent</module>
</modules>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>eclipse-maven</id>
+ <url>https://repo.eclipse.org/content/repositories/releases/</url>
+ </pluginRepository>
+ </pluginRepositories>
<build>
@@ -1062,6 +1071,27 @@
</pluginManagement>
</build>
</profile>
- </profiles>
+ <profile>
+ <id>eclipse-sign</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>${cbi-plugins.version}</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>