John Casey
Fri, 21 Aug 2009 16:01:30 -0700
--- The Maven team is pleased to announce the release of Apache Source-Release Assembly Descriptor, version 1.0. This is a standardized assembly descriptor for use in the maven-assembly-plugin. Source-release artifacts are archives which contain the full project structure (sources only, no build output) that are the subject of an ASF release vote. http://maven.apache.org/apache-resource-bundles/apache-source-release-assembly-descriptor/ This assembly descriptor should be coming to a parent POM near you, and should eventually be an automatic part of every ASF release. For now, it has been configured into the release process for Maven projects that inherit from maven-parent version 13 (also recently released). If you want to try out the source-release descriptor in the meantime, you can include a configuration like the following: <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-4</version> <dependencies> <dependency> <groupId>org.apache.apache.resources</groupId> <artifactId>apache-source-release-assembly-descriptor</artifactId> <version>1.0</version> </dependency> </dependencies> <executions> <execution> <id>source-release</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <descriptorRefs> <descriptorRef>source-release</descriptorRef> </descriptorRefs> <tarLongFileMode>gnu</tarLongFileMode> <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> </configuration> </execution> </executions> </plugin> </plugins> </build> Enjoy, The Maven Team -- John Casey Developer, PMC Member - Apache Maven (http://maven.apache.org) Blog: http://www.ejlife.net/blogs/buildchimp/