Tweaking release plugin config

Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds/commit/f217b304
Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds/tree/f217b304
Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds/diff/f217b304

Branch: refs/heads/master
Commit: f217b304b6ae6e16b833e318c9f4b1ec6f58fcd6
Parents: 14d05c5
Author: Andrew Bayer <[email protected]>
Authored: Tue May 28 10:51:30 2013 -0700
Committer: Andrew Bayer <[email protected]>
Committed: Tue May 28 14:46:42 2013 -0700

----------------------------------------------------------------------
 project/pom.xml |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-jclouds/blob/f217b304/project/pom.xml
----------------------------------------------------------------------
diff --git a/project/pom.xml b/project/pom.xml
index 08078c1..2129f09 100644
--- a/project/pom.xml
+++ b/project/pom.xml
@@ -213,6 +213,7 @@
     
<jclouds.blobstore.httpstream.md5>${jclouds.wire.httpstream.md5}</jclouds.blobstore.httpstream.md5>
     
<jclouds.test.listener>org.jclouds.test.testng.UnitTestStatusListener</jclouds.test.listener>
     <test.ssh.keyfile />
+    
<sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>
   </properties>
 
   <dependencyManagement>
@@ -341,7 +342,18 @@
       </testResource>
     </testResources>
     <plugins>
-<plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-release-plugin</artifactId>
+        <version>2.4</version>
+        <configuration>
+          <useReleaseProfile>false</useReleaseProfile>
+          <goals>deploy</goals>
+          <arguments>-Pdoc -Papache-release ${arguments}</arguments>
+        </configuration>
+      </plugin>
+      
+      <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
         <executions>
@@ -682,13 +694,6 @@
           <version>2.3</version>
         </plugin>
         <plugin>
-          <artifactId>maven-release-plugin</artifactId>
-          <version>2.4</version>
-          <configuration>
-            <releaseProfiles>doc</releaseProfiles>
-          </configuration>
-        </plugin>
-        <plugin>
           <artifactId>maven-remote-resources-plugin</artifactId>
           <version>1.4</version>
         </plugin>

Reply via email to