Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Aniszczyk2011-05-14 18:56:39 -0400
committerChris Aniszczyk2011-05-14 18:56:39 -0400
commit6cb1424c1b03c4519e3ae7b59b58e64bd4ad04d8 (patch)
tree42c4852a936457349735900bcd2a4338f2d8947f /pom.xml
parent455d98c75c285abe3c4c020de75816f248f4c6da (diff)
downloadegit-github-6cb1424c1b03c4519e3ae7b59b58e64bd4ad04d8.tar.gz
egit-github-6cb1424c1b03c4519e3ae7b59b58e64bd4ad04d8.tar.xz
egit-github-6cb1424c1b03c4519e3ae7b59b58e64bd4ad04d8.zip
Add build-server profile to enable signing
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml83
1 files changed, 83 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 7ad3f689..3d370d18 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,6 +82,13 @@
</repository>
</repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>maven.eclipse.org</id>
+ <url>http://maven.eclipse.org/nexus/content/repositories/nightly-indigo</url>
+ </pluginRepository>
+ </pluginRepositories>
+
<build>
<plugins>
<plugin>
@@ -208,5 +215,81 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>build-server</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.dash.m4e</groupId>
+ <artifactId>eclipse-signing-maven-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>pack</id>
+ <phase>package</phase>
+ <goals>
+ <goal>pack</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>sign</id>
+ <configuration>
+ <signerInputDirectory>/home/data/httpd/download-staging.priv/egit-github</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="/home/data/httpd/download.eclipse.org/egit/github/updates-nightly">
+ <include name="**" />
+ </fileset>
+ </delete>
+ <copy includeemptydirs="false"
+ todir="/home/data/httpd/download.eclipse.org/egit/github/updates-nightly">
+ <fileset dir="target/checksumFix">
+ <include name="**" />
+ </fileset>
+ </copy>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>

Back to the top