[ANN] Apache Source-Release Assembly Descriptor 1.0.1 Released

View: New views
1 Messages — Rating Filter:   Alert me  

[ANN] Apache Source-Release Assembly Descriptor 1.0.1 Released

by bentmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The Maven team is pleased to announce the release of Apache
Source-Release Assembly Descriptor, version 1.0.1.

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.

The new version of the descriptor fixes the erroneous inclusion of some
build output in the source archive. Please see
http://jira.codehaus.org/browse/MASSEMBLY-446 for more details on the issue.

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 14 (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.1</version>
         </dependency>
         <dependency>
           <!-- NOTE: The fix for PLXUTILS-120 is crucial for the new
assembly descriptor -->
           <groupId>org.codehaus.plexus</groupId>
           <artifactId>plexus-utils</artifactId>
           <version>2.0.1</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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...