Author: tchemit Date: 2010-01-24 12:43:30 +0100 (Sun, 24 Jan 2010) New Revision: 108 Modified: trunk/pom.xml Log: add signing profile (wille be removed with mavenpom4redmine >= 2.0.3) Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-01-23 20:17:17 UTC (rev 107) +++ trunk/pom.xml 2010-01-24 11:43:30 UTC (rev 108) @@ -501,6 +501,56 @@ </properties> </profile> + <!-- remove this when using mavenpom4redmine > 2.0.3 --> + <profile> + <id>release-sign-artifacts</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-helper-plugin</artifactId> + <executions> + <execution> + <id>get-pgp-passphrase</id> + <goals> + <goal>share-server-secret</goal> + </goals> + <phase>verify</phase> + <configuration> + <serverId>gpg-signer</serverId> + <usernameOut>gpg.keyname</usernameOut> + <passwordOut>gpg.passphrase</passwordOut> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <version>1.0-alpha-4</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + <configuration> + <keyname></keyname> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>
participants (1)
-
tchemit@users.nuiton.org