You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/07/06 14:56:50 UTC
svn commit: r1358175 - in /maven/resources/trunk: pom.xml
resources-bundles-sample/pom.xml
Author: olamy
Date: Fri Jul 6 12:56:50 2012
New Revision: 1358175
URL: http://svn.apache.org/viewvc?rev=1358175&view=rev
Log:
complete sample with apache-source-release-assembly-descriptor
Modified:
maven/resources/trunk/pom.xml
maven/resources/trunk/resources-bundles-sample/pom.xml
Modified: maven/resources/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/resources/trunk/pom.xml?rev=1358175&r1=1358174&r2=1358175&view=diff
==============================================================================
--- maven/resources/trunk/pom.xml (original)
+++ maven/resources/trunk/pom.xml Fri Jul 6 12:56:50 2012
@@ -32,6 +32,7 @@
<apache-jar-resource-bundle-version>1.4</apache-jar-resource-bundle-version>
<apache-jar-txt-resource-bundle-version>1.5-SNAPSHOT</apache-jar-txt-resource-bundle-version>
<apache-incubator-disclaimer-resource-bundle-version>1.2-SNAPSHOT</apache-incubator-disclaimer-resource-bundle-version>
+ <apache-source-release-assembly-descriptor-version>1.0.3</apache-source-release-assembly-descriptor-version>
</properties>
Modified: maven/resources/trunk/resources-bundles-sample/pom.xml
URL: http://svn.apache.org/viewvc/maven/resources/trunk/resources-bundles-sample/pom.xml?rev=1358175&r1=1358174&r2=1358175&view=diff
==============================================================================
--- maven/resources/trunk/resources-bundles-sample/pom.xml (original)
+++ maven/resources/trunk/resources-bundles-sample/pom.xml Fri Jul 6 12:56:50 2012
@@ -77,6 +77,40 @@
</execution>
</executions>
</plugin>
+ <!-- Create a source-release artifact that contains the fully buildable
+ project directory source structure. This is the artifact which is
+ the official subject of any release vote. -->
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.apache.resources</groupId>
+ <artifactId>apache-source-release-assembly-descriptor</artifactId>
+ <version>${apache-source-release-assembly-descriptor-version}</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>source-release-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <!--
+ use this flag to generate source release assembly from the top of a multi modules
+ maven project.
+
+ <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+ -->
+ <descriptorRefs>
+ <descriptorRef>source-release</descriptorRef>
+ </descriptorRefs>
+ <tarLongFileFormat>gnu</tarLongFileFormat>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>