aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanh Ha2013-11-20 03:20:20 (EST)
committerStephan Wahlbrink2013-11-22 01:42:40 (EST)
commit129e8ed4c7e901a4fe98d4fa334f29969812a71b (patch)
treedf3dace4c17eb25b3d3c31b58bc661c912e2729e
parent63fa64d3f70c6023ed1044a5ac8496d81664f967 (diff)
downloadorg.eclipse.nebula.widgets.nattable-129e8ed4c7e901a4fe98d4fa334f29969812a71b.zip
org.eclipse.nebula.widgets.nattable-129e8ed4c7e901a4fe98d4fa334f29969812a71b.tar.gz
org.eclipse.nebula.widgets.nattable-129e8ed4c7e901a4fe98d4fa334f29969812a71b.tar.bz2
Bug 422061: NatTable builds depend on missing eclipse-signing-maven-plugin
Swaps out the old DASH eclipse signer for the newer CBI jarsigner to perform signing. This patch adds a new profile "sign" which when called via -Psign will sign each individual jars using the Eclipse signing infrastructure. The result of the build can be retrieved in the updatesite/target/repository directory. Signed-off-by: Thanh Ha <thanh.ha@eclipse.org>
-rw-r--r--org.eclipse.nebula.widgets.nattable.parent/pom.xml31
-rw-r--r--org.eclipse.nebula.widgets.nattable.updatesite/pom.xml63
2 files changed, 31 insertions, 63 deletions
diff --git a/org.eclipse.nebula.widgets.nattable.parent/pom.xml b/org.eclipse.nebula.widgets.nattable.parent/pom.xml
index e8ac1e7..9e18c76 100644
--- a/org.eclipse.nebula.widgets.nattable.parent/pom.xml
+++ b/org.eclipse.nebula.widgets.nattable.parent/pom.xml
@@ -36,8 +36,16 @@
<properties>
<tycho-version>0.19.0</tycho-version>
+ <cbi-version>1.0.5</cbi-version>
</properties>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>cbi</id>
+ <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
+ </pluginRepository>
+ </pluginRepositories>
+
<build>
<plugins>
<plugin>
@@ -106,4 +114,27 @@
</pluginManagement>
</build>
+ <profiles>
+ <profile>
+ <id>sign</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>${cbi-version}</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
diff --git a/org.eclipse.nebula.widgets.nattable.updatesite/pom.xml b/org.eclipse.nebula.widgets.nattable.updatesite/pom.xml
index 5f96df6..6b21819 100644
--- a/org.eclipse.nebula.widgets.nattable.updatesite/pom.xml
+++ b/org.eclipse.nebula.widgets.nattable.updatesite/pom.xml
@@ -66,67 +66,4 @@
</plugin>
</plugins>
</build>
-
- <profiles>
- <profile>
- <id>build-server</id>
- <pluginRepositories>
- <pluginRepository>
- <id>Eclipse Nexus</id>
- <url>http://maven.eclipse.org/nexus/content/repositories/public/</url>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.dash.maven</groupId>
- <artifactId>eclipse-signing-maven-plugin</artifactId>
- <version>1.0.5</version>
- <executions>
- <execution>
- <id>pack</id>
- <configuration>
- <inputFile>${project.build.directory}/${project.artifactId}-${project.version}-site.zip</inputFile>
- </configuration>
- <phase>package</phase>
- <goals>
- <goal>pack</goal>
- </goals>
- </execution>
- <execution>
- <id>sign</id>
- <configuration>
- <inputFile>${project.build.directory}/${project.artifactId}-${project.version}-site.zip</inputFile>
- <signerInputDirectory>/home/data/httpd/download-staging.priv/technology/nebula/nattable</signerInputDirectory>
- </configuration>
- <phase>package</phase>
- <goals>
- <goal>sign</goal>
- </goals>
- </execution>
- <execution>
- <id>repack</id>
- <configuration>
- <inputFile>${project.build.directory}/signed/site_assembly.zip</inputFile>
- </configuration>
- <phase>package</phase>
- <goals>
- <goal>pack</goal>
- </goals>
- </execution>
- <execution>
- <id>fixCheckSums</id>
- <phase>package</phase>
- <goals>
- <goal>fixCheckSums</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
</project>