Author: asavu
Date: Sun Dec 11 01:38:54 2011
New Revision: 1212954
URL: http://svn.apache.org/viewvc?rev=1212954&view=rev
Log:
Make sure we also sign all the build-tools artifacts
Modified:
whirr/trunk/build-tools/pom.xml
Modified: whirr/trunk/build-tools/pom.xml
URL:
http://svn.apache.org/viewvc/whirr/trunk/build-tools/pom.xml?rev=1212954&r1=1212953&r2=1212954&view=diff
==============================================================================
--- whirr/trunk/build-tools/pom.xml (original)
+++ whirr/trunk/build-tools/pom.xml Sun Dec 11 01:38:54 2011
@@ -29,4 +29,38 @@
<url>https://repository.apache.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
+ <profiles>
+ <profile>
+ <!-- Used only when cutting a full release. Configures the deploy
plugin to mark
+ each artifact as a release (especially important for the archetype).
Signs each
+ file deployed (it actually signs way too many files and we have to
clean up a bit
+ once deployed). -->
+ <id>deploy</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.4</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <properties>
+ <update-release-info>true</update-release-info>
+ <!-- Don't re-run tests as part of the deploy build.
+ Note we use skipTests, not maven.test.skip, since the latter
skips
+ compilation too and we want to deploy tests. -->
+ <skipTests>true</skipTests>
+ </properties>
+ </profile>
+ </profiles>
</project>