commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r582955 - /commons/proper/logging/trunk/pom.xml
Date Mon, 08 Oct 2007 20:32:16 GMT
Author: dennisl
Date: Mon Oct  8 13:32:16 2007
New Revision: 582955

URL: http://svn.apache.org/viewvc?rev=582955&view=rev
Log:
Solve release related issues.

Modified:
    commons/proper/logging/trunk/pom.xml

Modified: commons/proper/logging/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/pom.xml?rev=582955&r1=582954&r2=582955&view=diff
==============================================================================
--- commons/proper/logging/trunk/pom.xml (original)
+++ commons/proper/logging/trunk/pom.xml Mon Oct  8 13:32:16 2007
@@ -288,6 +288,32 @@
       </plugin>
 
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <version>2.3</version>
+        <configuration>
+          <!-- Pick up this configuration from settings.xml. -->
+          <altDeploymentRepository>${deploy.altRepository}</altDeploymentRepository>
+          <updateReleaseInfo>true</updateReleaseInfo>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-release-plugin</artifactId>
+        <version>2.0-beta-6</version>
+        <configuration>
+          <!--
+            - The site needs to be built prior to deploy,
+            - because it is included in the assembly.
+            -->
+          <goals>site deploy</goals>
+          <!-- Pass these arguments to the deploy plugin. -->
+          <arguments>-Prelease</arguments>
+        </configuration>
+      </plugin>
+
+      <plugin>
         <!--
           - Many of JCL's tests use tricky techniques to place the generated
           - JCL jarfiles on the classpath in various configurations. This means
@@ -346,9 +372,11 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.1</version>
+        <version>2.2-beta-1</version>
         <configuration>
           <appendAssemblyId>false</appendAssemblyId>
+          <!-- Do not deploy the assemblies to the repository. -->
+          <attach>false</attach>
           <descriptors>
             <descriptor>src/assembly/assembly.xml</descriptor>
           </descriptors>
@@ -365,6 +393,29 @@
     </plugins>
   </build>
   
+  <profiles>
+    <profile>
+      <id>release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <!-- Create the assemblies automatically during release. -->
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <phase>package</phase>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
   <dependencies>
     <dependency>
       <groupId>junit</groupId>



Mime
View raw message