You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whirr.apache.org by as...@apache.org on 2011/12/11 02:38:43 UTC

svn commit: r1212953 - /whirr/branches/branch-0.7/build-tools/pom.xml

Author: asavu
Date: Sun Dec 11 01:38:42 2011
New Revision: 1212953

URL: http://svn.apache.org/viewvc?rev=1212953&view=rev
Log:
Make sure we also sign all the build-tools artifacts

Modified:
    whirr/branches/branch-0.7/build-tools/pom.xml

Modified: whirr/branches/branch-0.7/build-tools/pom.xml
URL: http://svn.apache.org/viewvc/whirr/branches/branch-0.7/build-tools/pom.xml?rev=1212953&r1=1212952&r2=1212953&view=diff
==============================================================================
--- whirr/branches/branch-0.7/build-tools/pom.xml (original)
+++ whirr/branches/branch-0.7/build-tools/pom.xml Sun Dec 11 01:38:42 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>