aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2012-05-11 22:35:05 (EDT)
committerIgor Fedorenko2012-05-11 22:35:05 (EDT)
commit0d2df6abe912c83b9420cdda75da2af72a079425 (patch)
tree91fc95bf4f4b3b6f1a58faea4b3142349bf93844
parentf08a71313b323e2c0dcee79260102f0a0a8d955e (diff)
downloadeclipse.platform.releng.aggregator-0d2df6abe912c83b9420cdda75da2af72a079425.zip
eclipse.platform.releng.aggregator-0d2df6abe912c83b9420cdda75da2af72a079425.tar.gz
eclipse.platform.releng.aggregator-0d2df6abe912c83b9420cdda75da2af72a079425.tar.bz2
369798 'eclipse-sign' profile to do pack200 and jar signing
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--eclipse-parent/pom.xml84
1 files changed, 83 insertions, 1 deletions
diff --git a/eclipse-parent/pom.xml b/eclipse-parent/pom.xml
index fc5fe6c..0379825 100644
--- a/eclipse-parent/pom.xml
+++ b/eclipse-parent/pom.xml
@@ -104,7 +104,7 @@
build since many platform bundles directly or indirectly depend on org.eclipse.equinox.security.
-->
<executionEnvironment>?J2SE-1.4</executionEnvironment>
-
+
<environments>
<environment>
<os>linux</os>
@@ -206,4 +206,86 @@
</pluginManagement>
</build>
+ <profiles>
+ <profile>
+ <id>eclipse-sign</id>
+ <properties>
+ <tycho.version>0.15.0-SNAPSHOT</tycho.version>
+ <tycho-extras.version>0.15.0-SNAPSHOT</tycho-extras.version>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <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-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </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>
+
+ </profiles>
</project>