Sweet, now we can eliminate the duplication the temporarily proliferated in the Maven POMs?

On 12-Aug-09, at 2:57 PM, [email protected] wrote:

Author: jdcasey
Date: Wed Aug 12 21:57:19 2009
New Revision: 803723

URL: http://svn.apache.org/viewvc?rev=803723&view=rev
Log:
Adding source-release assembly configuration.

Modified:
   maven/pom/trunk/maven/pom.xml

Modified: maven/pom/trunk/maven/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/pom/trunk/maven/pom.xml?rev=803723&r1=803722&r2=803723&view=diff
= = = = = = = = ======================================================================
--- maven/pom/trunk/maven/pom.xml (original)
+++ maven/pom/trunk/maven/pom.xml Wed Aug 12 21:57:19 2009
@@ -536,6 +536,40 @@

  <profiles>
    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <version>2.2-beta-4</version>
+            <dependencies>
+              <dependency>
+                <groupId>org.apache</groupId>
+ <artifactId>apache-source-release-assembly- descriptor</artifactId>
+                <version>1.0-SNAPSHOT</version>
+              </dependency>
+            </dependencies>
+            <executions>
+              <execution>
+                <id>source-release-assembly</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <configuration>
+ <runOnlyAtExecutionRoot>true</ runOnlyAtExecutionRoot>
+                  <descriptorRefs>
+                    <descriptorRef>source-release</descriptorRef>
+                  </descriptorRefs>
+                  <tarLongFileFormat>gnu</tarLongFileFormat>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
      <id>quality-checks</id>
      <activation>
        <property>



Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/SonatypeNexus
http://twitter.com/SonatypeM2E
----------------------------------------------------------

To do two things at once is to do neither.

 -—Publilius Syrus, Roman slave, first century B.C.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to