mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Use CBI signing setup.
This commit is contained in:
parent
e4f1fdf702
commit
70a8846b7f
1 changed files with 52 additions and 73 deletions
|
@ -15,108 +15,87 @@
|
||||||
<artifactId>org.eclipse.cdt.repo</artifactId>
|
<artifactId>org.eclipse.cdt.repo</artifactId>
|
||||||
<packaging>eclipse-repository</packaging>
|
<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>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>maven.eclipse.org</id>
|
<id>cbi</id>
|
||||||
<url>http://maven.eclipse.org/nexus/content/repositories/public</url>
|
<url>https://repo.eclipse.org/content/repositories/cbi-releases/</url>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<finalName>${project.artifactId}</finalName>
|
<finalName>${project.artifactId}</finalName>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
<profile>
|
<profile>
|
||||||
<id>production</id>
|
<id>production</id>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.eclipse.dash.maven</groupId>
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
<artifactId>eclipse-signing-maven-plugin</artifactId>
|
<artifactId>target-platform-configuration</artifactId>
|
||||||
<version>1.0.5</version>
|
<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>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>pack</id>
|
<id>pack200-normalize</id>
|
||||||
<configuration>
|
|
||||||
<inputFile>${project.build.directory}/${cdt-zipfile}</inputFile>
|
|
||||||
</configuration>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
<goals>
|
||||||
<goal>pack</goal>
|
<goal>normalize</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>
|
</goals>
|
||||||
|
<phase>verify</phase>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<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>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>deploy</id>
|
<id>pack200-pack</id>
|
||||||
<phase>install</phase>
|
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>pack</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<phase>verify</phase>
|
||||||
<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>
|
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.tyco</groupId>
|
||||||
|
<artifactId>tycho-p2-plugin</artifactId>
|
||||||
|
<version>${tycho-version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>p2-metadata</id>
|
||||||
|
<goals>
|
||||||
|
<goal>p2-metadata</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>verify</phase>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<defaultP2Metadata>false</defaultP2Metadata>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
Loading…
Add table
Reference in a new issue