diff options
author | Chris Aniszczyk | 2011-05-15 00:42:05 +0000 |
---|---|---|
committer | Chris Aniszczyk | 2011-05-16 13:54:33 +0000 |
commit | 4a1dff2af46ad965398453b46f6ea3b2c6be4336 (patch) | |
tree | 30f7d58de4c88a4b246fca291a97288bfae5a1da /org.eclipse.mylyn.github-site | |
parent | b86c21b21276916f3e3e7d0bc2da1d6219e85d59 (diff) | |
download | egit-github-4a1dff2af46ad965398453b46f6ea3b2c6be4336.tar.gz egit-github-4a1dff2af46ad965398453b46f6ea3b2c6be4336.tar.xz egit-github-4a1dff2af46ad965398453b46f6ea3b2c6be4336.zip |
Clean up build-server profile for signing
Change-Id: I6f1b1b2122b99570af180ed2cf46112a953ac066
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'org.eclipse.mylyn.github-site')
-rw-r--r-- | org.eclipse.mylyn.github-site/pom.xml | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.github-site/pom.xml b/org.eclipse.mylyn.github-site/pom.xml index 369e3cc5..3053c57c 100644 --- a/org.eclipse.mylyn.github-site/pom.xml +++ b/org.eclipse.mylyn.github-site/pom.xml @@ -35,5 +35,90 @@ </plugin> </plugins> </build> + <profiles> + <profile> + <id>build-server</id> + <build> + <plugins> + <plugin> + <groupId>org.eclipse.dash.maven</groupId> + <artifactId>eclipse-maven-signing-plugin</artifactId> + <version>1.0.0.0-SNAPSHOT</version> + <executions> + <execution> + <id>pack</id> + <configuration> + <inputFile>${project.build.directory}/github-updatesite.zip</inputFile> + </configuration> + <phase>package</phase> + <goals> + <goal>pack</goal> + </goals> + </execution> + <execution> + <id>sign</id> + <configuration> + <inputFile>${project.build.directory}/github-updatesite.zip</inputFile> + <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}/github-updatesite.zip</inputFile> + </configuration> + <phase>package</phase> + <goals> + <goal>pack</goal> + </goals> + </execution> + <execution> + <id>fixCheckSums</id> + <configuration> + <inputFile>${project.build.directory}/github-updatesite.zip</inputFile> + </configuration> + <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> |