Skip to content

Commit

Permalink
PGP sign artifacts in production
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahgraham committed May 4, 2023
1 parent 5e84957 commit d1eedfc
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debug/org.eclipse.cdt.debug.application.product/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
<source>repository</source>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-gpg-plugin</artifactId>
</plugin>
<!-- Disable Mac signing for now
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
Expand Down
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,22 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-gpg-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>pgpsigner</id>
<goals>
<goal>sign-p2-artifacts</goal>
</goals>
<configuration>
<keyname>4F23165B6AC51B15</keyname>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</pluginManagement>
Expand Down
15 changes: 15 additions & 0 deletions releng/org.eclipse.cdt.repo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,19 @@
<build>
<finalName>${project.artifactId}</finalName>
</build>

<profiles>
<profile>
<id>production</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
14 changes: 14 additions & 0 deletions releng/org.eclipse.cdt.testing.repo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,18 @@
<finalName>${project.artifactId}</finalName>
</build>

<profiles>
<profile>
<id>production</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
4 changes: 4 additions & 0 deletions remote/org.eclipse.remote.proxy.server.product/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@
<id>production</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
Expand Down
15 changes: 15 additions & 0 deletions terminal/repo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,19 @@
<build>
<finalName>${project.artifactId}</finalName>
</build>

<profiles>
<profile>
<id>production</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit d1eedfc

Please sign in to comment.