Permalink
Browse files

Let's try a Maven release

  • Loading branch information...
aslakhellesoy committed Dec 4, 2011
1 parent edfc878 commit 5cc7d3bc9cde2ff68382be39bd18325e3e3b4459
Showing with 41 additions and 0 deletions.
  1. +41 −0 pom.xml
View
41 pom.xml
@@ -26,4 +26,45 @@
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>release-sign-artifacts</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.2.1</version>
+ <configuration>
+ <tagNameFormat>v@{project.version}</tagNameFormat>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.1</version>
+ <configuration>
+ <useAgent>true</useAgent>
+ </configuration>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>

0 comments on commit 5cc7d3b

Please sign in to comment.