diff options
-rw-r--r-- | features/org.eclipse.tcf.repo/pom.xml | 82 | ||||
-rw-r--r-- | pom.xml | 7 |
2 files changed, 78 insertions, 11 deletions
diff --git a/features/org.eclipse.tcf.repo/pom.xml b/features/org.eclipse.tcf.repo/pom.xml index b7c7e8e41..f4707612c 100644 --- a/features/org.eclipse.tcf.repo/pom.xml +++ b/features/org.eclipse.tcf.repo/pom.xml @@ -15,15 +15,70 @@ <artifactId>org.eclipse.tcf.repo</artifactId> <packaging>eclipse-repository</packaging> + <properties> + <tcf-stream>juno</tcf-stream> + <tcf-zipfile>org.eclipse.tcf.repo.zip</tcf-zipfile> + <tcf-install>/home/data/httpd/download.eclipse.org/tools/tcf/builds/${tcf-stream}/nightly</tcf-install> + </properties> + + <pluginRepositories> + <pluginRepository> + <id>maven.eclipse.org</id> + <url>http://maven.eclipse.org/nexus/content/repositories/public</url> + </pluginRepository> + </pluginRepositories> + <profiles> <profile> <id>production</id> - <properties> - <tcf-install>/home/data/httpd/download.eclipse.org/tools/cdt/builds/hudson/tcf-nightly</tcf-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}/${tcf-zipfile}</inputFile> + </configuration> + <phase>package</phase> + <goals> + <goal>pack</goal> + </goals> + </execution> + <execution> + <id>sign</id> + <configuration> + <inputFile>${project.build.directory}/${tcf-zipfile}</inputFile> + <signerInputDirectory>/home/data/httpd/download-staging.priv/tools/tcf/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,15 +89,26 @@ </goals> <configuration> <tasks> - <mkdir dir="${tcf-install}" /> - <delete> + <delete includeemptydirs="false"> <fileset dir="${tcf-install}"> <include name="**" /> </fileset> </delete> - <copy file="target/org.eclipse.tcf.repo.zip" - tofile="${tcf-install}/org.eclipse.tcf.repo.${unqualifiedVersion}.${buildQualifier}.zip" /> - <unzip src="target/org.eclipse.tcf.repo.zip" dest="${tcf-install}" /> + <zip destfile="${tcf-install}/${tcf-zipfile}"> + <fileset dir="target/checksumFix"> + <include name="**" /> + </fileset> + </zip> + <copy includeemptydirs="false" todir="${tcf-install}"> + <fileset dir="target/checksumFix"> + <include name="**" /> + </fileset> + </copy> + <chmod perm="g+w"> + <fileset dir="${tcf-install}"> + <include name="**"/> + </fileset> + </chmod> </tasks> </configuration> </execution> @@ -16,9 +16,10 @@ <properties> <tycho-version>0.14.0</tycho-version> - <platform-version>4.2milestones</platform-version> + <platform-version>3.8milestones</platform-version> <platform-site>http://download.eclipse.org/eclipse/updates/${platform-version}</platform-site> - <cdt-site>http://download.eclipse.org/tools/cdt/builds/hudson/cdt-nightly</cdt-site> + <cdt-version>juno</cdt-version> + <cdt-site>http://download.eclipse.org/tools/cdt/builds/${cdt-version}/nightly</cdt-site> <tm-version>3.3</tm-version> <tm-site>http://download.eclipse.org/tm/updates/${tm-version}</tm-site> <rxtx-site>http://rxtx.qbang.org/eclipse</rxtx-site> @@ -266,7 +267,7 @@ <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> - <version>2.4.1-SNAPSHOT</version> + <version>2.4.1</version> <configuration> <effort>Max</effort> <threshold>Low</threshold> |