diff options
Diffstat (limited to 'releng/org.eclipse.cdt.repo/pom.xml')
-rw-r--r-- | releng/org.eclipse.cdt.repo/pom.xml | 80 |
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 61e7215bca1..c3d12bbc540 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> |