diff options
-rw-r--r-- | org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml | 33 | ||||
-rw-r--r-- | org.eclipse.jgit.packaging/pom.xml | 5 |
2 files changed, 38 insertions, 0 deletions
diff --git a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml index 2a127bc9b6..058aa695db 100644 --- a/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml +++ b/org.eclipse.jgit.packaging/org.eclipse.jgit.repository/pom.xml @@ -107,4 +107,37 @@ <version>${project.version}</version> </dependency> </dependencies> + + <profiles> + <profile> + <id>gpg-sign</id> + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-gpg-plugin</artifactId> + <executions> + <execution> + <id>pgpsigner</id> + <phase>package</phase> + <goals> + <goal>sign-p2-artifacts</goal> + </goals> + <configuration> + <keyname>E3E144E1</keyname> <!-- JGit public key --> + <skipIfJarsigned>true</skipIfJarsigned> <!-- Sign if not already JAR-signed. --> + <forceSignature> + <bundle>bcpg</bundle> + <bundle>bcpkix</bundle> + <bundle>bcprov</bundle> + <bundle>bcutil</bundle> + </forceSignature> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> diff --git a/org.eclipse.jgit.packaging/pom.xml b/org.eclipse.jgit.packaging/pom.xml index 8e0af18870..c9c2c4367b 100644 --- a/org.eclipse.jgit.packaging/pom.xml +++ b/org.eclipse.jgit.packaging/pom.xml @@ -287,6 +287,11 @@ <version>${tycho-version}</version> </plugin> <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>tycho-gpg-plugin</artifactId> + <version>${tycho-version}</version> + </plugin> + <plugin> <groupId>org.eclipse.cbi.maven.plugins</groupId> <artifactId>eclipse-jarsigner-plugin</artifactId> <version>1.3.5</version> |