diff options
author | Igor Fedorenko | 2012-08-18 02:16:28 +0000 |
---|---|---|
committer | Igor Fedorenko | 2012-08-18 02:16:28 +0000 |
commit | 2c0d905fb262e8e1f7b886538118cba4a9e34c01 (patch) | |
tree | c9b43ba5f2a8de38b5ae7a568bfe82c7db9b3e5e /pom.xml | |
parent | 09a35be7a716e5f17b51955d84f587797b356027 (diff) | |
download | m2e-core-2c0d905fb262e8e1f7b886538118cba4a9e34c01.tar.gz m2e-core-2c0d905fb262e8e1f7b886538118cba4a9e34c01.tar.xz m2e-core-2c0d905fb262e8e1f7b886538118cba4a9e34c01.zip |
Introduced -Peclipse-sign to sign and pack200 on build.eclipse.org
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 102 |
1 files changed, 78 insertions, 24 deletions
@@ -39,6 +39,7 @@ <m2e.site-compressed>http://repository.sonatype.org/service/local/repositories/forge-sites/content-compressed/</m2e.site-compressed> <tycho-version>0.15.0</tycho-version> + <tycho-extras-version>${tycho-version}</tycho-extras-version> <!-- eclipse version m2e is built against --> <eclipse-repo.url>http://download.eclipse.org/releases/juno</eclipse-repo.url> @@ -79,6 +80,16 @@ </repository> </repositories> + <pluginRepositories> + <pluginRepository> + <id>tycho-snapshots</id> + <url>https://oss.sonatype.org/content/groups/staging</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + </pluginRepositories> + <modules> <module>org.eclipse.m2e.model.edit</module> @@ -193,35 +204,47 @@ </pluginManagement> </build> - <pluginRepositories> - <pluginRepository> - <id>sonatype-public</id> - <url>http://repository.sonatype.org/content/groups/sonatype-public-grid</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>true</enabled> - </releases> - </pluginRepository> - </pluginRepositories> - <profiles> - <!-- <profile> - <id>sign</id> - <activation> - <property> - <name>jarsigner.alias</name> - </property> - </activation> + <id>eclipse-sign</id> + + <pluginRepositories> + <pluginRepository> + <id>m2e-cbi</id> + <url>http://download.eclipse.org/technology/m2e/maven/</url> + </pluginRepository> + </pluginRepositories> + <build> <plugins> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jarsigner-plugin</artifactId> - <version>1.2</version> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <version>${tycho-version}</version> + <configuration> + <includePackedArtifacts>true</includePackedArtifacts> + </configuration> + </plugin> + + <plugin> + <groupId>org.eclipse.tycho.extras</groupId> + <artifactId>tycho-pack200a-plugin</artifactId> + <version>${tycho-extras-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>1.0.0</version> <executions> <execution> <id>sign</id> @@ -231,10 +254,41 @@ </execution> </executions> </plugin> + + <plugin> + <groupId>org.eclipse.tycho.extras</groupId> + <artifactId>tycho-pack200b-plugin</artifactId> + <version>${tycho-extras-version}</version> + <executions> + <execution> + <id>pack200-pack</id> + <goals> + <goal>pack</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-p2-plugin</artifactId> + <version>${tycho-version}</version> + <executions> + <execution> + <id>p2-metadata</id> + <goals> + <goal>p2-metadata</goal> + </goals> + <phase>package</phase> + </execution> + </executions> + <configuration> + <defaultP2Metadata>false</defaultP2Metadata> + </configuration> + </plugin> </plugins> </build> </profile> - --> <!-- workaround for https://issues.sonatype.org/browse/TYCHO-562 |