Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanh Ha2013-10-29 18:29:35 +0000
committerThanh Ha2013-10-30 19:52:19 +0000
commit23fe22ca9fd990397a556d94f28f3d757a2a7f3a (patch)
treea87f99935a49a1f034edd698cfe400a717104472
parentf7761e1cef9d611ee0bd664361888d7990a1d45b (diff)
downloadwebtools.releng.aggregator-23fe22ca9fd990397a556d94f28f3d757a2a7f3a.tar.gz
webtools.releng.aggregator-23fe22ca9fd990397a556d94f28f3d757a2a7f3a.tar.xz
webtools.releng.aggregator-23fe22ca9fd990397a556d94f28f3d757a2a7f3a.zip
Add eclipse-sign profile to sign jars with CBI plugins 1.0.5
Signed-off-by: Thanh Ha <thanh.ha@eclipse.org>
-rw-r--r--wtp-parent/pom.xml90
1 files changed, 89 insertions, 1 deletions
diff --git a/wtp-parent/pom.xml b/wtp-parent/pom.xml
index 9d3842a..37b121d 100644
--- a/wtp-parent/pom.xml
+++ b/wtp-parent/pom.xml
@@ -23,7 +23,10 @@
<properties>
<tycho.version>0.19.0</tycho.version>
<tycho-extras.version>0.19.0</tycho-extras.version>
- <tycho-repo.url>https://oss.sonatype.org/content/groups/public/</tycho-repo.url>
+ <tycho-repo.url>https://oss.sonatype.org/content/repositories/public/</tycho-repo.url>
+
+ <cbi-plugins.version>1.0.5</cbi-plugins.version>
+ <cbi-repo.url>https://repo.eclipse.org/content/repositories/cbi/</cbi-repo.url>
<platform-repo.url>http://download.eclipse.org/eclipse/updates/4.4milestones</platform-repo.url>
<emf-repo.url>http://download.eclipse.org/modeling/emf/emf/updates/2.9/</emf-repo.url>
@@ -101,6 +104,16 @@
<enabled>true</enabled>
</snapshots>
</pluginRepository>
+ <pluginRepository>
+ <id>cbi-repo</id>
+ <url>${cbi-repo.url}</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
</pluginRepositories>
<build>
@@ -250,5 +263,80 @@
</pluginManagement>
</build>
</profile>
+ <profile>
+ <id>eclipse-sign</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho.version}</version>
+ <configuration>
+ <includePackedArtifacts>false</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>
+ <phase>verify</phase>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>${cbi-plugins.version}</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ <phase>verify</phase>
+ </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>
+ <phase>verify</phase>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <executions>
+ <execution>
+ <id>p2-metadata</id>
+ <goals>
+ <goal>p2-metadata</goal>
+ </goals>
+ <phase>verify</phase>
+ </execution>
+ </executions>
+ <configuration>
+ <defaultP2Metadata>false</defaultP2Metadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
+

Back to the top