Skip to content

Commit

Permalink
Added GPG plugin (artifacts uploaded to the central repository must b…
Browse files Browse the repository at this point in the history
…e signed).
  • Loading branch information
JerryChin committed May 20, 2022
1 parent 61b569a commit 99996ef
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,24 @@
<goals>deploy</goals>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>${gpg.keyname}</keyname>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 99996ef

Please sign in to comment.