Author: brett
Date: Thu Jun 14 20:10:55 2007
New Revision: 547505
URL: http://svn.apache.org/viewvc?view=rev&rev=547505
Log:
produce a source assembly as part of the release
Merged from: r547502,547498 from maven-2.0.x branch
Added:
maven/components/trunk/src/
- copied from r547498, maven/components/branches/maven-2.0.x/src/
maven/components/trunk/src/main/
- copied from r547498, maven/components/branches/maven-2.0.x/src/main/
maven/components/trunk/src/main/assembly/
- copied from r547498,
maven/components/branches/maven-2.0.x/src/main/assembly/
maven/components/trunk/src/main/assembly/src.xml
- copied, changed from r547498,
maven/components/branches/maven-2.0.x/src/main/assembly/src.xml
Modified:
maven/components/trunk/pom.xml
Modified: maven/components/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/maven/components/trunk/pom.xml?view=diff&rev=547505&r1=547504&r2=547505
==============================================================================
--- maven/components/trunk/pom.xml (original)
+++ maven/components/trunk/pom.xml Thu Jun 14 20:10:55 2007
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.maven</groupId>
<artifactId>maven-parent</artifactId>
- <version>5</version>
+ <version>6-SNAPSHOT</version>
<relativePath>../pom/maven/pom.xml</relativePath>
</parent>
<artifactId>maven</artifactId>
@@ -257,4 +257,33 @@
</pluginRepository>
</pluginRepositories>
+ <profiles>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <inherited>false</inherited>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/src.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ <finalName>maven-${project.version}-src</finalName>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
Copied: maven/components/trunk/src/main/assembly/src.xml (from r547498,
maven/components/branches/maven-2.0.x/src/main/assembly/src.xml)
URL:
http://svn.apache.org/viewvc/maven/components/trunk/src/main/assembly/src.xml?view=diff&rev=547505&p1=maven/components/branches/maven-2.0.x/src/main/assembly/src.xml&r1=547498&p2=maven/components/trunk/src/main/assembly/src.xml&r2=547505
==============================================================================
--- maven/components/branches/maven-2.0.x/src/main/assembly/src.xml (original)
+++ maven/components/trunk/src/main/assembly/src.xml Thu Jun 14 20:10:55 2007
@@ -21,6 +21,8 @@
<id>src</id>
<formats>
<format>zip</format>
+ <format>tar.gz</format>
+ <format>tar.bz2</format>
</formats>
<fileSets>
<fileSet>
@@ -29,6 +31,10 @@
<excludes>
<exclude>**/target/**</exclude>
</excludes>
+ </fileSet>
+ <fileSet>
+ <directory>target/maven-shared-archive-resources/META-INF</directory>
+ <outputDirectory>/</outputDirectory>
</fileSet>
</fileSets>
</assembly>