mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-20 22:55:51 +02:00
[releng]update build scripts to use the latest tycho version and some CBI plugins
This commit is contained in:
parent
caca7c16e1
commit
cd17aac411
2 changed files with 201 additions and 124 deletions
190
pom.xml
190
pom.xml
|
@ -38,9 +38,14 @@
|
||||||
</license>
|
</license>
|
||||||
</licenses>
|
</licenses>
|
||||||
<properties>
|
<properties>
|
||||||
<tycho-version>0.15.0</tycho-version>
|
<tycho-version>0.16.0</tycho-version>
|
||||||
<tycho-extras-version>0.15.0</tycho-extras-version>
|
<tycho-extras-version>0.16.0</tycho-extras-version>
|
||||||
|
<maven-resources-version>2.6</maven-resources-version>
|
||||||
|
<maven-antrun-version>1.7</maven-antrun-version>
|
||||||
|
<gmaven-version>1.4</gmaven-version>
|
||||||
|
<eclipse-jarsigner-version>1.0.2-SNAPSHOT</eclipse-jarsigner-version>
|
||||||
<platform-version-name>juno</platform-version-name>
|
<platform-version-name>juno</platform-version-name>
|
||||||
|
<tm-stream>juno</tm-stream>
|
||||||
<eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site>
|
<eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site>
|
||||||
<orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository</orbit-site>
|
<orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository</orbit-site>
|
||||||
<rxtx-version>1.0.0.7837QcJa5vE7MnhE77YA7AU3SWUlbntVZAnlDoIGojcQd</rxtx-version>
|
<rxtx-version>1.0.0.7837QcJa5vE7MnhE77YA7AU3SWUlbntVZAnlDoIGojcQd</rxtx-version>
|
||||||
|
@ -50,7 +55,23 @@
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>maven.eclipse.org</id>
|
<id>maven.eclipse.org</id>
|
||||||
<url>http://maven.eclipse.org/nexus/content/groups/public/</url>
|
<url>http://maven.eclipse.org/nexus/content/repositories/public</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</pluginRepository>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>sonatype</id>
|
||||||
|
<url>https://repository.sonatype.org/content/repositories/public</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
<repositories>
|
<repositories>
|
||||||
|
@ -120,7 +141,7 @@
|
||||||
<eclipse-site>http://download.eclipse.org/releases/staging</eclipse-site>
|
<eclipse-site>http://download.eclipse.org/releases/staging</eclipse-site>
|
||||||
<platform-version>[4.2,)</platform-version>
|
<platform-version>[4.2,)</platform-version>
|
||||||
<sdk-version>4.2</sdk-version>
|
<sdk-version>4.2</sdk-version>
|
||||||
<cdt-site>http://download.eclipse.org/tools/cdt/builds/juno/milestones/M7</cdt-site>
|
<cdt-site>http://download.eclipse.org/tools/cdt/releases/juno</cdt-site>
|
||||||
<cdt-test-site>http://download.eclipse.org/tools/cdt/updates/indigo/</cdt-test-site>
|
<cdt-test-site>http://download.eclipse.org/tools/cdt/updates/indigo/</cdt-test-site>
|
||||||
</properties>
|
</properties>
|
||||||
<repositories>
|
<repositories>
|
||||||
|
@ -215,8 +236,6 @@
|
||||||
<module>rse/plugins/org.eclipse.rse.ui.capabilities</module>
|
<module>rse/plugins/org.eclipse.rse.ui.capabilities</module>
|
||||||
<module>rse/plugins/org.eclipse.rse.useractions</module>
|
<module>rse/plugins/org.eclipse.rse.useractions</module>
|
||||||
<module>releng/org.eclipse.tm.repo</module>
|
<module>releng/org.eclipse.tm.repo</module>
|
||||||
<!-- <module>releng/org.eclipse.tm.releng.test-feature</module>
|
|
||||||
-->
|
|
||||||
<module>terminal/plugins/org.eclipse.tm.terminal</module>
|
<module>terminal/plugins/org.eclipse.tm.terminal</module>
|
||||||
<module>terminal/plugins/org.eclipse.tm.terminal.serial</module>
|
<module>terminal/plugins/org.eclipse.tm.terminal.serial</module>
|
||||||
<module>terminal/plugins/org.eclipse.tm.terminal.ssh</module>
|
<module>terminal/plugins/org.eclipse.tm.terminal.ssh</module>
|
||||||
|
@ -224,7 +243,6 @@
|
||||||
<module>terminal/plugins/org.eclipse.tm.terminal.view</module>
|
<module>terminal/plugins/org.eclipse.tm.terminal.view</module>
|
||||||
<module>terminal/plugins/org.eclipse.tm.terminal.local</module>
|
<module>terminal/plugins/org.eclipse.tm.terminal.local</module>
|
||||||
<module>terminal/plugins/org.eclipse.tm.terminal.test</module>
|
<module>terminal/plugins/org.eclipse.tm.terminal.test</module>
|
||||||
|
|
||||||
<module>terminal/features/org.eclipse.tm.terminal-feature</module>
|
<module>terminal/features/org.eclipse.tm.terminal-feature</module>
|
||||||
<module>terminal/features/org.eclipse.tm.terminal.serial-feature</module>
|
<module>terminal/features/org.eclipse.tm.terminal.serial-feature</module>
|
||||||
<module>terminal/features/org.eclipse.tm.terminal.ssh-feature</module>
|
<module>terminal/features/org.eclipse.tm.terminal.ssh-feature</module>
|
||||||
|
@ -235,7 +253,6 @@
|
||||||
<module>terminal/features/org.eclipse.tm.terminal.local-feature</module>
|
<module>terminal/features/org.eclipse.tm.terminal.local-feature</module>
|
||||||
<module>terminal/features/org.eclipse.tm.terminal.local.sdk-feature</module>
|
<module>terminal/features/org.eclipse.tm.terminal.local.sdk-feature</module>
|
||||||
<module>terminal/features/org.eclipse.tm.terminal.test-feature</module>
|
<module>terminal/features/org.eclipse.tm.terminal.test-feature</module>
|
||||||
|
|
||||||
<module>rse/tests/org.eclipse.rse.tests</module>
|
<module>rse/tests/org.eclipse.rse.tests</module>
|
||||||
<module>rse/tests/org.eclipse.rse.tests-feature</module>
|
<module>rse/tests/org.eclipse.rse.tests-feature</module>
|
||||||
<module>rse/tests/org.eclipse.rse.tests.framework</module>
|
<module>rse/tests/org.eclipse.rse.tests.framework</module>
|
||||||
|
@ -245,6 +262,23 @@
|
||||||
<module>wince/org.eclipse.tm.rapi</module>
|
<module>wince/org.eclipse.tm.rapi</module>
|
||||||
</modules>
|
</modules>
|
||||||
<build>
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
|
<artifactId>tycho-maven-plugin</artifactId>
|
||||||
|
<version>${tycho-version}</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
|
<artifactId>target-platform-configuration</artifactId>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
|
<artifactId>tycho-source-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.eclipse.tycho</groupId>
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
|
@ -257,8 +291,6 @@
|
||||||
<artifactId>target-platform-configuration</artifactId>
|
<artifactId>target-platform-configuration</artifactId>
|
||||||
<version>${tycho-version}</version>
|
<version>${tycho-version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<resolver>p2</resolver>
|
|
||||||
<pomDependencies>consider</pomDependencies>
|
|
||||||
<environments>
|
<environments>
|
||||||
<environment>
|
<environment>
|
||||||
<os>linux</os>
|
<os>linux</os>
|
||||||
|
@ -300,51 +332,12 @@
|
||||||
<ws>gtk</ws>
|
<ws>gtk</ws>
|
||||||
<arch>ppc</arch>
|
<arch>ppc</arch>
|
||||||
</environment>
|
</environment>
|
||||||
<!-- <environment>
|
|
||||||
<os>solaris</os>
|
|
||||||
<ws>gtk</ws>
|
|
||||||
<arch>sparc</arch>
|
|
||||||
</environment>
|
|
||||||
-->
|
|
||||||
</environments>
|
</environments>
|
||||||
|
<resolver>p2</resolver>
|
||||||
|
<ignoreTychoRepositories>true</ignoreTychoRepositories>
|
||||||
|
<pomDependencies>consider</pomDependencies>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<descriptors>
|
|
||||||
<descriptor>src.xml</descriptor>
|
|
||||||
</descriptors>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.eclipse.tycho</groupId>
|
|
||||||
<artifactId>tycho-source-plugin</artifactId>
|
|
||||||
<version>${tycho-version}</version>
|
|
||||||
<configuration>
|
|
||||||
<encoding>UTF-8</encoding>
|
|
||||||
<strictSrcIncludes>false</strictSrcIncludes>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>attach-source</id>
|
|
||||||
<goals>
|
|
||||||
<goal>plugin-source</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.eclipse.tycho</groupId>
|
|
||||||
<artifactId>tycho-packaging-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<strictBinIncludes>false</strictBinIncludes>
|
|
||||||
<archiveSite>true</archiveSite>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
<pluginManagement>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.eclipse.tycho</groupId>
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
<artifactId>tycho-compiler-plugin</artifactId>
|
<artifactId>tycho-compiler-plugin</artifactId>
|
||||||
|
@ -355,11 +348,13 @@
|
||||||
<target>1.5</target>
|
<target>1.5</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- enable source bundle generation -->
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.eclipse.tycho</groupId>
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
<artifactId>tycho-source-plugin</artifactId>
|
<artifactId>tycho-source-plugin</artifactId>
|
||||||
<version>${tycho-version}</version>
|
<version>${tycho-version}</version>
|
||||||
|
<configuration>
|
||||||
|
<encoding>UTF-8</encoding>
|
||||||
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>plugin-source</id>
|
<id>plugin-source</id>
|
||||||
|
@ -369,6 +364,88 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
|
<artifactId>tycho-packaging-plugin</artifactId>
|
||||||
|
<version>${tycho-version}</version>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse.tycho.extras</groupId>
|
||||||
|
<artifactId>tycho-buildtimestamp-jgit</artifactId>
|
||||||
|
<version>${tycho-version}</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<configuration>
|
||||||
|
<strictBinIncludes>false</strictBinIncludes>
|
||||||
|
<timestampProvider>jgit</timestampProvider>
|
||||||
|
<jgit.ignore>pom.xml</jgit.ignore>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
|
<artifactId>tycho-p2-plugin</artifactId>
|
||||||
|
<version>${tycho-version}</version>
|
||||||
|
<configuration>
|
||||||
|
<baselineRepositories>
|
||||||
|
<repository>
|
||||||
|
<url>http://download.eclipse.org/tm/builds/${tm-stream}/nightly</url>
|
||||||
|
</repository>
|
||||||
|
</baselineRepositories>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
|
<artifactId>tycho-p2-repository-plugin</artifactId>
|
||||||
|
<version>${tycho-version}</version>
|
||||||
|
<configuration>
|
||||||
|
<finalName>${project.artifactId}</finalName>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<!-- Pack200 and Signing -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.tycho.extras</groupId>
|
||||||
|
<artifactId>tycho-pack200a-plugin</artifactId>
|
||||||
|
<version>${tycho-version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>pack200-normalize</id>
|
||||||
|
<goals>
|
||||||
|
<goal>normalize</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.cbi.maven.plugins</groupId>
|
||||||
|
<artifactId>eclipse-jarsigner-plugin</artifactId>
|
||||||
|
<version>${eclipse-jarsigner-version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>sign</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>sign</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.tycho.extras</groupId>
|
||||||
|
<artifactId>tycho-pack200b-plugin</artifactId>
|
||||||
|
<version>${tycho-version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>pack200-pack</id>
|
||||||
|
<goals>
|
||||||
|
<goal>pack</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<!-- </plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
<pluginManagement>
|
||||||
|
<plugins>-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.eclipse.tycho</groupId>
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
<artifactId>tycho-surefire-plugin</artifactId>
|
<artifactId>tycho-surefire-plugin</artifactId>
|
||||||
|
@ -396,7 +473,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>2.5</version>
|
<version>${maven-resources-version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<encoding>ISO-8859-1</encoding>
|
<encoding>ISO-8859-1</encoding>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -404,7 +481,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<version>1.6</version>
|
<version>${maven-antrun-version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
@ -419,7 +496,7 @@
|
||||||
<artifactId>maven-site-plugin</artifactId>
|
<artifactId>maven-site-plugin</artifactId>
|
||||||
<version>3.0</version>
|
<version>3.0</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<!-- <plugin>
|
||||||
<groupId>org.eclipse.tycho</groupId>
|
<groupId>org.eclipse.tycho</groupId>
|
||||||
<artifactId>tycho-packaging-plugin</artifactId>
|
<artifactId>tycho-packaging-plugin</artifactId>
|
||||||
<version>${tycho-version}</version>
|
<version>${tycho-version}</version>
|
||||||
|
@ -427,6 +504,7 @@
|
||||||
<format>'v'yyyyMMddHHmm</format>
|
<format>'v'yyyyMMddHHmm</format>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
-->
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
|
@ -28,6 +28,10 @@
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
<groupId>org.eclipse.cbi.maven.plugins</groupId>
|
||||||
|
<artifactId>eclipse-jarsigner-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
<!--<plugin>
|
||||||
<groupId>org.eclipse.dash.maven</groupId>
|
<groupId>org.eclipse.dash.maven</groupId>
|
||||||
<artifactId>eclipse-signing-maven-plugin</artifactId>
|
<artifactId>eclipse-signing-maven-plugin</artifactId>
|
||||||
<version>1.0.5</version>
|
<version>1.0.5</version>
|
||||||
|
@ -71,7 +75,7 @@
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin> -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
|
@ -92,7 +96,6 @@
|
||||||
</target>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
||||||
<execution>
|
<execution>
|
||||||
<id>deploy</id>
|
<id>deploy</id>
|
||||||
<phase>install</phase>
|
<phase>install</phase>
|
||||||
|
@ -106,7 +109,7 @@
|
||||||
<include name="**"/>
|
<include name="**"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</delete>
|
</delete>
|
||||||
<zip destfile="${tm-install}/org.eclipse.tm.repo.zip">
|
<!--<zip destfile="${tm-install}/org.eclipse.tm.repo.zip">
|
||||||
<fileset dir="target/checksumFix">
|
<fileset dir="target/checksumFix">
|
||||||
<include name="**"/>
|
<include name="**"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
|
@ -116,6 +119,7 @@
|
||||||
<include name="**"/>
|
<include name="**"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
|
-->
|
||||||
<chmod perm="g+w">
|
<chmod perm="g+w">
|
||||||
<fileset dir="${tm-install}">
|
<fileset dir="${tm-install}">
|
||||||
<include name="**"/>
|
<include name="**"/>
|
||||||
|
@ -151,11 +155,6 @@
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<target>
|
<target>
|
||||||
<!-- <delete includeemptydirs="false">
|
|
||||||
<fileset dir="${tm-install}">
|
|
||||||
<include name="**"/>
|
|
||||||
</fileset>
|
|
||||||
</delete> -->
|
|
||||||
<copy file="target/${tm-zipfile}" todir="${tm-install}">
|
<copy file="target/${tm-zipfile}" todir="${tm-install}">
|
||||||
</copy>
|
</copy>
|
||||||
<chmod perm="g+w">
|
<chmod perm="g+w">
|
||||||
|
|
Loading…
Add table
Reference in a new issue