Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Schaefer2013-11-01 16:51:14 +0000
committerDoug Schaefer2013-11-01 16:51:14 +0000
commit70a8846b7fe99c6d4b4cbff0bfb5b9b89a6e433f (patch)
treed30f36b571a4de9d6eaf39fd2419d883771c325c /releng/org.eclipse.cdt.repo/pom.xml
parente4f1fdf702bc52eb3af6f37b92648c7001f2bf9d (diff)
downloadorg.eclipse.cdt-70a8846b7fe99c6d4b4cbff0bfb5b9b89a6e433f.tar.gz
org.eclipse.cdt-70a8846b7fe99c6d4b4cbff0bfb5b9b89a6e433f.tar.xz
org.eclipse.cdt-70a8846b7fe99c6d4b4cbff0bfb5b9b89a6e433f.zip
Use CBI signing setup.
Diffstat (limited to 'releng/org.eclipse.cdt.repo/pom.xml')
-rw-r--r--releng/org.eclipse.cdt.repo/pom.xml115
1 files changed, 47 insertions, 68 deletions
diff --git a/releng/org.eclipse.cdt.repo/pom.xml b/releng/org.eclipse.cdt.repo/pom.xml
index 601371f4170..5c2a1fb0119 100644
--- a/releng/org.eclipse.cdt.repo/pom.xml
+++ b/releng/org.eclipse.cdt.repo/pom.xml
@@ -15,107 +15,86 @@
<artifactId>org.eclipse.cdt.repo</artifactId>
<packaging>eclipse-repository</packaging>
- <properties>
- <cdt-stream>luna</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>
-
<pluginRepositories>
<pluginRepository>
- <id>maven.eclipse.org</id>
- <url>http://maven.eclipse.org/nexus/content/repositories/public</url>
+ <id>cbi</id>
+ <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
</pluginRepository>
</pluginRepositories>
<build>
<finalName>${project.artifactId}</finalName>
</build>
+
<profiles>
<profile>
<id>production</id>
<build>
<plugins>
<plugin>
- <groupId>org.eclipse.dash.maven</groupId>
- <artifactId>eclipse-signing-maven-plugin</artifactId>
- <version>1.0.5</version>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho-verson}</version>
+ <configuration>
+ <includePackedArtifacts>false</includePackedArtifacts>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-pack200a-plugin</artifactId>
+ <version>${tycho-version}</version>
<executions>
<execution>
- <id>pack</id>
- <configuration>
- <inputFile>${project.build.directory}/${cdt-zipfile}</inputFile>
- </configuration>
- <phase>package</phase>
+ <id>pack200-normalize</id>
<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>
+ <goal>normalize</goal>
</goals>
+ <phase>verify</phase>
</execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.cbi.maven.plugins</groupId>
+ <artifactId>eclipse-jarsigner-plugin</artifactId>
+ <version>1.0.4</version>
+ <executions>
+ <id>sign</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-pack200b-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <executions>
<execution>
- <id>repack</id>
- <configuration>
- <inputFile>${project.build.directory}/signed/site_assembly.zip</inputFile>
- </configuration>
- <phase>package</phase>
+ <id>pack200-pack</id>
<goals>
<goal>pack</goal>
</goals>
- </execution>
- <execution>
- <id>fixCheckSums</id>
- <phase>package</phase>
- <goals>
- <goal>fixCheckSums</goal>
- </goals>
+ <phase>verify</phase>
</execution>
</executions>
</plugin>
<plugin>
- <artifactId>maven-antrun-plugin</artifactId>
+ <groupId>org.eclipse.tyco</groupId>
+ <artifactId>tycho-p2-plugin</artifactId>
+ <version>${tycho-version}</version>
<executions>
<execution>
- <id>deploy</id>
- <phase>install</phase>
+ <id>p2-metadata</id>
<goals>
- <goal>run</goal>
+ <goal>p2-metadata</goal>
</goals>
- <configuration>
- <tasks>
- <delete includeemptydirs="false">
- <fileset dir="${cdt-install}">
- <include name="**" />
- </fileset>
- </delete>
- <zip destfile="${cdt-install}/org.eclipse.cdt.repo.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>
+ <phase>verify</phase>
</execution>
</executions>
+ <configuration>
+ <defaultP2Metadata>false</defaultP2Metadata>
+ </configuration>
</plugin>
</plugins>
</build>

Back to the top