summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorMorten Tokle <mortent@yahoo-inc.com>2017-06-15 10:54:59 +0200
committerMorten Tokle <mortent@yahoo-inc.com>2017-06-15 10:54:59 +0200
commit1dfee26d01051860a3e2ea5f9291cc60e2d683ea (patch)
treee8926865d5d287922cf32f4f7894ab6b3b7467d6 /pom.xml
parent9ceb537169016f9e0ad074bf3c88d26baa763f11 (diff)
Add profile for signing artifacts
Diffstat (limited to 'pom.xml')
-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>