aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@gmail.com>2017-06-15 10:58:26 +0200
committerGitHub <noreply@github.com>2017-06-15 10:58:26 +0200
commitc085f67019a69e53f73e62b7d175a9bc8861f1ff (patch)
treeb99703052f92362c6ab847d4de88ae15cbff43f6
parent716b933c92f020ac93c340cccbd666751e307d81 (diff)
parent1dfee26d01051860a3e2ea5f9291cc60e2d683ea (diff)
Merge pull request #2792 from yahoo/mortent/sign-jars
Add profile for signing artifacts
-rw-r--r--pom.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 54656f22d92..e61ecb59a5c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -498,6 +498,27 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>sign-artifacts</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.6</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<dependencyManagement>
<dependencies>