Skip to main content
summaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorDoug Schaefer2012-02-21 13:20:53 -0500
committerDoug Schaefer2012-02-21 13:20:53 -0500
commitd93ef64c7abd0b49fc13254087266993657a61df (patch)
treedbbdbf231d201fc2e7f1b16dc4c93ca44ca03f82 /releng
parent58eed0ce4203ba2f6581a9c6f6820989db8945dc (diff)
downloadorg.eclipse.cdt-d93ef64c7abd0b49fc13254087266993657a61df.tar.gz
org.eclipse.cdt-d93ef64c7abd0b49fc13254087266993657a61df.tar.xz
org.eclipse.cdt-d93ef64c7abd0b49fc13254087266993657a61df.zip
Set up cdt build to sign and deploy itself (i.e. no master).
Diffstat (limited to 'releng')
-rw-r--r--releng/org.eclipse.cdt.repo/pom.xml80
1 files changed, 69 insertions, 11 deletions
diff --git a/releng/org.eclipse.cdt.repo/pom.xml b/releng/org.eclipse.cdt.repo/pom.xml
index 61e7215bca..c3d12bbc54 100644
--- a/releng/org.eclipse.cdt.repo/pom.xml
+++ b/releng/org.eclipse.cdt.repo/pom.xml
@@ -15,15 +15,63 @@
<artifactId>org.eclipse.cdt.repo</artifactId>
<packaging>eclipse-repository</packaging>
+ <properties>
+ <cdt-stream>juno</cdt-stream>
+ <cdt-zipfile>org.eclipse.cdt.repo.zip</cdt-zipfile>
+ <cdt-install>/home/data/httpd/download.eclipse.org/tools/cdt/builds/${cdt-stream}/nightly</cdt-install>
+ </properties>
+
<profiles>
<profile>
<id>production</id>
- <properties>
- <cdt-install>/home/data/httpd/download.eclipse.org/tools/cdt/builds/hudson/cdt-nightly</cdt-install>
- </properties>
<build>
<plugins>
<plugin>
+ <groupId>org.eclipse.dash.maven</groupId>
+ <artifactId>eclipse-signing-maven-plugin</artifactId>
+ <version>1.0.3</version>
+ <executions>
+ <execution>
+ <id>pack</id>
+ <configuration>
+ <inputFile>${project.build.directory}/${cdt-zipfile}</inputFile>
+ </configuration>
+ <phase>package</phase>
+ <goals>
+ <goal>pack</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>sign</id>
+ <configuration>
+ <inputFile>${project.build.directory}/${cdt-zipfile}</inputFile>
+ <signerInputDirectory>/home/data/httpd/download-staging.priv/tools/cdt/hudson</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>
@@ -34,18 +82,28 @@
</goals>
<configuration>
<tasks>
- <mkdir dir="${cdt-install}"/>
- <delete>
+ <delete includeemptydirs="false">
<fileset dir="${cdt-install}">
<include name="**" />
</fileset>
</delete>
- <copy
- file="target/org.eclipse.cdt.repo.zip"
- tofile="${cdt-install}/org.eclipse.cdt.repo.${unqualifiedVersion}.${buildQualifier}.zip"/>
- <unzip
- src="target/org.eclipse.cdt.repo.zip"
- dest="${cdt-install}"/>
+ <zip
+ dest="${cdt-install}/org.eclipse.cdt.repo.${unqualifiedVersion}.${buildQualifier}.zip">
+ <fileset dir="target/checksumFix">
+ <include name="**" />
+ </fileset>
+ </zip>
+ <copy includeemptydirs="false"
+ todir="${cdt-install}">
+ <fileset dir="target/checksumFix">
+ <include name="**" />
+ </fileset>
+ </copy>
+ <chmod perm="g+w">
+ <fileset dir="${cdt-install}">
+ <include name="**"/>
+ </fileset>
+ </chmod>
</tasks>
</configuration>
</execution>

Back to the top