Author: brett
Date: Thu Jun 14 19:39:36 2007
New Revision: 547498
URL: http://svn.apache.org/viewvc?view=rev&rev=547498
Log:
build a source zip whenever a release is produced. upgrade parent to get gpg
plugin alpha-3 which is required to honour the classifier.
Added:
maven/components/branches/maven-2.0.x/src/
maven/components/branches/maven-2.0.x/src/main/
maven/components/branches/maven-2.0.x/src/main/assembly/
maven/components/branches/maven-2.0.x/src/main/assembly/src.xml (with
props)
Modified:
maven/components/branches/maven-2.0.x/pom.xml
Modified: maven/components/branches/maven-2.0.x/pom.xml
URL:
http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/pom.xml?view=diff&rev=547498&r1=547497&r2=547498
==============================================================================
--- maven/components/branches/maven-2.0.x/pom.xml (original)
+++ maven/components/branches/maven-2.0.x/pom.xml Thu Jun 14 19:39:36 2007
@@ -22,7 +22,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>
@@ -262,4 +262,33 @@
<url>scp://people.apache.org/www/maven.apache.org/ref/${project.version}/</url>
</site>
</distributionManagement>
+ <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</finalName>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
Added: maven/components/branches/maven-2.0.x/src/main/assembly/src.xml
URL:
http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/src/main/assembly/src.xml?view=auto&rev=547498
==============================================================================
--- maven/components/branches/maven-2.0.x/src/main/assembly/src.xml (added)
+++ maven/components/branches/maven-2.0.x/src/main/assembly/src.xml Thu Jun 14
19:39:36 2007
@@ -0,0 +1,35 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<assembly>
+ <id>src</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>.</directory>
+ <outputDirectory>/</outputDirectory>
+ <excludes>
+ <exclude>**/target/**</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+</assembly>
+
Propchange: maven/components/branches/maven-2.0.x/src/main/assembly/src.xml
------------------------------------------------------------------------------
svn:eol-style = native