Skip to content

Commit f7b29e0

Browse files
committed
releng: Sign 3rd party artifacts with Trace Compass's PGP key
Both Trace Compass update site and RCP update site will be signed. Signing of RCP update site requires Tycho 4.0.10 or later. Use tycho-gpg-plugin: https://tycho.eclipseprojects.io/doc/4.0.11/tycho-gpg-plugin/sign-p2-artifacts-mojo.html Signed-off-by: Bernd Hufmann <[email protected]>
1 parent 7c357fe commit f7b29e0

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,23 @@
480480

481481
<pluginManagement>
482482
<plugins>
483+
<plugin>
484+
<groupId>org.eclipse.tycho</groupId>
485+
<artifactId>tycho-gpg-plugin</artifactId>
486+
<version>${tycho-version}</version>
487+
<executions>
488+
<execution>
489+
<id>pgpsigner</id>
490+
<goals>
491+
<goal>sign-p2-artifacts</goal>
492+
</goals>
493+
<configuration>
494+
<keyname>FDA6044E56578104</keyname>
495+
<skipIfJarsigned>false</skipIfJarsigned>
496+
</configuration>
497+
</execution>
498+
</executions>
499+
</plugin>
483500
<plugin>
484501
<groupId>org.eclipse.tycho</groupId>
485502
<artifactId>tycho-compiler-plugin</artifactId>

rcp/org.eclipse.tracecompass.rcp.product/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@
124124
<source>repository</source>
125125
</configuration>
126126
</plugin>
127+
<plugin>
128+
<groupId>org.eclipse.tycho</groupId>
129+
<artifactId>tycho-gpg-plugin</artifactId>
130+
</plugin>
127131
</plugins>
128132
</build>
129133
</profile>

releng/org.eclipse.tracecompass.releng-site/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,17 @@
6868
</plugins>
6969
</build>
7070
</profile>
71+
<profile>
72+
<id>sign-update-site</id>
73+
<build>
74+
<plugins>
75+
<plugin>
76+
<groupId>org.eclipse.tycho</groupId>
77+
<artifactId>tycho-gpg-plugin</artifactId>
78+
</plugin>
79+
</plugins>
80+
</build>
81+
</profile>
7182
</profiles>
7283

7384
</project>

0 commit comments

Comments
 (0)