Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-05-06 12:11:21 +0000
committerUwe Stieber2012-05-06 12:11:21 +0000
commitbc9c073ff009b5e6c0965fbbea3add325550eac8 (patch)
tree016d9b121d060c874af91900023a9ecd2e89d970 /features
parentb76274bf36685a60480f1366ad286893d8dda0e0 (diff)
downloadorg.eclipse.tcf-bc9c073ff009b5e6c0965fbbea3add325550eac8.tar.gz
org.eclipse.tcf-bc9c073ff009b5e6c0965fbbea3add325550eac8.tar.xz
org.eclipse.tcf-bc9c073ff009b5e6c0965fbbea3add325550eac8.zip
Maven: Clean-up maven project structure and update "sign" profile in o.e.tcf.repo/pom.xml
Diffstat (limited to 'features')
-rw-r--r--features/org.eclipse.tcf.repo/pom.xml30
1 files changed, 23 insertions, 7 deletions
diff --git a/features/org.eclipse.tcf.repo/pom.xml b/features/org.eclipse.tcf.repo/pom.xml
index b01d1e10f..38774466e 100644
--- a/features/org.eclipse.tcf.repo/pom.xml
+++ b/features/org.eclipse.tcf.repo/pom.xml
@@ -21,34 +21,43 @@
<tcf-install>/home/data/httpd/download.eclipse.org/tools/tcf/builds/${tcf-stream}/nightly</tcf-install>
<jacoco.skip>true</jacoco.skip>
</properties>
-
+
<pluginRepositories>
- <pluginRepository>
+ <pluginRepository>
<id>maven.eclipse.org</id>
<url>http://maven.eclipse.org/nexus/content/repositories/public</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
</pluginRepository>
- </pluginRepositories>
+ </pluginRepositories>
+ <!-- Packaging and signing -->
<profiles>
<profile>
- <id>production</id>
+ <id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.dash.maven</groupId>
<artifactId>eclipse-signing-maven-plugin</artifactId>
- <version>1.0.3</version>
+ <version>1.0.5</version>
<executions>
+ <!-- Pack the p2 repository. -->
<execution>
<id>pack</id>
+ <phase>package</phase>
<configuration>
<inputFile>${project.build.directory}/${tcf-zipfile}</inputFile>
</configuration>
- <phase>package</phase>
<goals>
<goal>pack</goal>
</goals>
</execution>
+ <!-- Sign the p2 repository -->
<execution>
<id>sign</id>
<configuration>
@@ -60,16 +69,19 @@
<goal>sign</goal>
</goals>
</execution>
+ <!-- Repack the p2 repository -->
<execution>
<id>repack</id>
<configuration>
- <inputFile>${project.build.directory}/signed/site_assembly.zip</inputFile>
+ <!-- this is output from signer mojo -->
+ <inputFile>${project.build.directory}/signed/site_assembly.zip</inputFile>
</configuration>
<phase>package</phase>
<goals>
<goal>pack</goal>
</goals>
</execution>
+ <!-- Signing and packing alters checksums so fix them -->
<execution>
<id>fixCheckSums</id>
<phase>package</phase>
@@ -79,6 +91,9 @@
</execution>
</executions>
</plugin>
+ <!--
+ This is what I use to deploy a p2 repository someplace to test from before manually making active.
+ -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
@@ -111,6 +126,7 @@
</fileset>
</chmod>
</tasks>
+
</configuration>
</execution>
</executions>

Back to the top