Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 385537: Signed repo

  • Loading branch information...
commit 051b5ff7989e5f8752d8a3169b14fadf891be925 1 parent c878ee8
@mickaelistria mickaelistria authored
Showing with 66 additions and 0 deletions.
  1. +66 −0 org.eclipse.swtbot.updatesite/pom.xml
View
66 org.eclipse.swtbot.updatesite/pom.xml
@@ -22,4 +22,70 @@ Authors:
<version>2.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
+
+ <profiles>
+ <profile>
+ <id>build-at-eclipse-org</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.dash.maven</groupId>
+ <artifactId>eclipse-signing-maven-plugin</artifactId>
+ <version>1.0.3</version>
+ <executions>
+ <!-- Pack the p2 repository. -->
+ <execution>
+ <id>pack</id>
+ <phase>package</phase>
+ <configuration>
+ <inputFile>${project.build.directory}/${project.artifactId}-${project.version}.zip</inputFile>
+ </configuration>
+ <goals>
+ <goal>pack</goal>
+ </goals>
+ </execution>
+ <!-- Sign the p2 repository -->
+ <execution>
+ <id>sign</id>
+ <configuration>
+ <inputFile>${project.build.directory}/${project.artifactId}-${project.version}.zip</inputFile>
+ <signerInputDirectory>/home/data/httpd/download-staging.priv/technology/swtbot</signerInputDirectory>
+ </configuration>
+ <phase>package</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ <!-- Repack the p2 repository -->
+ <execution>
+ <id>repack</id>
+ <configuration>
+ <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>
+ <goals>
+ <goal>fixCheckSums</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>eclipse-nexus</id>
+ <url>http://maven.eclipse.org/nexus/content/groups/public/</url>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ </profiles>
+
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.