Update signing code.
Change-Id: I9146a43e5f3d996785623f09d6c926d44e5b643b
Signed-off-by: Greg Watson <g.watson@computer.org>
diff --git a/pom.xml b/pom.xml
index b6adcef..1362387 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,8 +15,9 @@
<name>PTP Photran Parent</name>
<properties>
- <tycho-version>1.4.0</tycho-version>
+ <tycho-version>2.3.0</tycho-version>
<tycho-extras-version>${tycho-version}</tycho-extras-version>
+ <cbi-plugins.version>1.3.1</cbi-plugins.version>
<photran-install-dir>/home/data/httpd/download.eclipse.org/tools/ptp/builds/hudson/ptp-nightly-photran</photran-install-dir>
</properties>
@@ -192,13 +193,6 @@
<profiles>
<profile>
<id>eclipse-sign</id>
- <pluginRepositories>
- <pluginRepository>
- <id>m2e-cbi</id>
- <url>http://download.eclipse.org/technology/m2e/maven/</url>
- </pluginRepository>
- </pluginRepositories>
-
<build>
<plugins>
<plugin>
@@ -209,49 +203,20 @@
<includePackedArtifacts>true</includePackedArtifacts>
</configuration>
</plugin>
-
- <plugin>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-pack200a-plugin</artifactId>
- <version>${tycho-extras-version}</version>
- <executions>
- <execution>
- <id>pack200-normalize</id>
- <goals>
- <goal>normalize</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
- <version>1.0.1</version>
+ <version>${cbi-plugins.version}</version>
<executions>
<execution>
<id>sign</id>
+ <phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
-
- <plugin>
- <groupId>org.eclipse.tycho.extras</groupId>
- <artifactId>tycho-pack200b-plugin</artifactId>
- <version>${tycho-extras-version}</version>
- <executions>
- <execution>
- <id>pack200-pack</id>
- <goals>
- <goal>pack</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
@@ -262,7 +227,7 @@
<goals>
<goal>p2-metadata</goal>
</goals>
- <phase>package</phase>
+ <phase>verify</phase>
</execution>
</executions>
<configuration>