Monday, July 14, 2008

Maven 2 GPG Plugin

Maven 2 GPG Plugin, allows to sign attached artifacts with GunPG. One of the tedious processes involved in releasing a project is to sign its artifacts. Some of the releases might contain 10-15 artifacts. Ex: WSO2 WSAS etc. So in order to get the release process smoother, one could just need to add the following plugin into the parent pom.xml,

<plugin>
<groupid>org.apache.maven.plugins</groupid>
<artifactid>maven-gpg-plugin</artifactid>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>


The latest version of this plugin is 1.0-alpha-4 as at 2007-09-28.

Then using "mvn clean deploy" will sign the artifacts in addition to md5 & sha1. It's advisable if the prior plugin be added in a "profile" section. Then only at the release time, "asc" files are generated. Trust me, when you have A LOT OF artifacts to be signed, above plugin is a life saver.

4 comments:

Rugby said...

The Springboks (South Africa) and All Blacks vs Springboks Live the All Blacks (New Zealand) have been battling against each other for almost a century. The first Springboks vs All Blacks game was in 1921. Every rugby test match played since then has served to strengthen the rivalry and respect between these two proud rugby …

Sumon The MUSAFIR said...

Rugby World Cup 2019 will air on September 2019. You have not enough time to get ready. Your favorite All Blacks vs Canada match also here under this RWC 2019.How to Watch All Blacks vs Canada live As a die-hard fan of rugby, you need to know some essential element about this game. Because you are willing to enjoy the match. You should know about this match. Since the official site consistently gives the news which is identified with the occasion. What’s more, this data is extremely basic for all.

mohidul said...

The Macy’s Thanksgiving Day Parade begins promptly at 9 a.m. on Thursday, Nov. 28, 2019, at Thanksgiving Day Parade 2019
the corner of 77th Street and Central Park West. It will travel south to Columbus Circle, where it will turn east onto Central Park South before turning onto 6th Avenue. After traveling down 6th from 59th Street to 34th Street, the parade will turn right and end at Macy’s in Herald Square. The parade lasts about three hours, ending at noon.

Sumon The MUSAFIR said...

Rugby World Cup 2019 will air on September 2019. You have not enough time to get ready. Your favorite Wallabies vs Wales match also here under this RWC 2019. As a die-hard fan of rugby, you need to know some essential element about this game.Wallabies vs Wales Rugby live stream Because you are willing to enjoy the match. You should know about this match. Since the official site consistently gives the news which is identified with the occasion. What’s more, this data is extremely basic for all.