Skip to main content
summaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorTom Schindl2013-07-05 18:16:53 -0400
committerTom Schindl2013-07-05 18:16:53 -0400
commitf53af6984f92783f8e7884cef61fce5e2b03ac0e (patch)
treec3d7f3fde9bf7a026f4344895ec3c919587553df /releng
parentdad0eb6de2fb766897ba36a2dedf2022f98216b9 (diff)
downloadorg.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')
-rwxr-xr-xreleng/org.eclipse.fx.releng/pom.xml2
-rw-r--r--releng/org.eclipse.fx.updatesite/pom.xml86
2 files changed, 88 insertions, 0 deletions
diff --git a/releng/org.eclipse.fx.releng/pom.xml b/releng/org.eclipse.fx.releng/pom.xml
index c0dcdc03f..7f7096601 100755
--- a/releng/org.eclipse.fx.releng/pom.xml
+++ b/releng/org.eclipse.fx.releng/pom.xml
@@ -19,6 +19,8 @@
<mockito-version>1.8.4</mockito-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<platform-version>[3.7,3.8)</platform-version>
+ <signer-input-directory>/home/data/httpd/download-staging.priv/efxclipse</signer-input-directory>
+ <download-publish-path>/home/data/httpd/download.eclipse.org/efxclipse/updates-nightly</download-publish-path>
</properties>
<modules>
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

Back to the top