Skip to content

Commit 3ea5c06

Browse files
committed
Profile to allow signing of artifacts for deployment
1 parent 9b65004 commit 3ea5c06

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

pom.xml

+23
Original file line numberDiff line numberDiff line change
@@ -585,4 +585,27 @@
585585
</snapshotRepository>
586586
</distributionManagement>
587587

588+
<profiles>
589+
<profile>
590+
<id>gpg-sign</id>
591+
<build>
592+
<plugins>
593+
<plugin>
594+
<groupId>org.apache.maven.plugins</groupId>
595+
<artifactId>maven-gpg-plugin</artifactId>
596+
<version>1.6</version>
597+
<executions>
598+
<execution>
599+
<id>sign-artifacts</id>
600+
<phase>verify</phase>
601+
<goals>
602+
<goal>sign</goal>
603+
</goals>
604+
</execution>
605+
</executions>
606+
</plugin>
607+
</plugins>
608+
</build>
609+
</profile>
610+
</profiles>
588611
</project>

0 commit comments

Comments
 (0)