diff options
author | Tom Schindl | 2013-07-05 22:16:53 +0000 |
---|---|---|
committer | Tom Schindl | 2013-07-05 22:16:53 +0000 |
commit | f53af6984f92783f8e7884cef61fce5e2b03ac0e (patch) | |
tree | c3d7f3fde9bf7a026f4344895ec3c919587553df /releng/org.eclipse.fx.updatesite | |
parent | dad0eb6de2fb766897ba36a2dedf2022f98216b9 (diff) | |
download | org.eclipse.efxclipse-f53af6984f92783f8e7884cef61fce5e2b03ac0e.tar.gz org.eclipse.efxclipse-f53af6984f92783f8e7884cef61fce5e2b03ac0e.tar.xz org.eclipse.efxclipse-f53af6984f92783f8e7884cef61fce5e2b03ac0e.zip |
enabling signing at eclipse.org
Diffstat (limited to 'releng/org.eclipse.fx.updatesite')
-rw-r--r-- | releng/org.eclipse.fx.updatesite/pom.xml | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/releng/org.eclipse.fx.updatesite/pom.xml b/releng/org.eclipse.fx.updatesite/pom.xml index 9ded8b19d..3a7ca3112 100644 --- a/releng/org.eclipse.fx.updatesite/pom.xml +++ b/releng/org.eclipse.fx.updatesite/pom.xml @@ -13,6 +13,10 @@ <version>0.8.1-SNAPSHOT</version>
</parent>
+ <properties>
+ <p2repo-zip-path>${project.build.directory}/org.eclipse.fx.repository-${project.version}.zip</p2repo-zip-path>
+ </properties>
+
<build>
<plugins>
<plugin>
@@ -25,4 +29,86 @@ </plugins>
</build>
+ <profiles>
+ <profile>
+ <id>build-server</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.dash.maven</groupId>
+ <artifactId>eclipse-signing-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>pack</id>
+ <configuration>
+ <inputFile>${p2repo-zip-path}</inputFile>
+ </configuration>
+ <phase>package</phase>
+ <goals>
+ <goal>pack</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>sign</id>
+ <configuration>
+ <inputFile>${p2repo-zip-path}</inputFile>
+ <signerInputDirectory>${signer-input-directory}</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>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deploy</id>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <delete includeemptydirs="false">
+ <fileset
+ dir="${download-publish-path}">
+ <include name="**" />
+ </fileset>
+ </delete>
+ <copy includeemptydirs="false"
+ todir="${download-publish-path}">
+ <fileset dir="target/checksumFix">
+ <include name="**" />
+ </fileset>
+ </copy>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
\ No newline at end of file |