[releng] [incubation] Update to add the possibility to sign the builds Change-Id: I95181929301999f5c3b7221d83f4a8a8e1a35942 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
diff --git a/releng/pom.xml b/releng/pom.xml index 48e6da9..bcde5d6 100755 --- a/releng/pom.xml +++ b/releng/pom.xml
@@ -16,4 +16,77 @@ <module>org.eclipse.papyrus.incubation.p2</module> </modules> + <profiles> + <profile> + <id>packAndSign</id> <!-- Stable release profile. Takes +30min. Eclipse servers only --> + <!-- Pack200 --> + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho.extras</groupId> + <artifactId>tycho-pack200a-plugin</artifactId> + <version>${tychoExtrasVersion}</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>${jarSignerVersion}</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>${tychoExtrasVersion}</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>attach-p2-metadata</id> + <phase>package</phase> + <goals> + <goal>p2-metadata</goal> + </goals> + </execution> + </executions> + <configuration> + <defaultP2Metadata>false</defaultP2Metadata> + </configuration> + </plugin> + </plugins> + </build> + <activation> + <property> + <name>SIGN</name> + <value>true</value> + </property> + </activation> + </profile> + </profiles> + </project> \ No newline at end of file