You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2009/07/10 15:09:18 UTC
svn commit: r792935 - in /maven/plugins/trunk/maven-stage-plugin: pom.xml
src/main/assembly/ src/main/assembly/source-release.xml
Author: dennisl
Date: Fri Jul 10 13:09:18 2009
New Revision: 792935
URL: http://svn.apache.org/viewvc?rev=792935&view=rev
Log:
[MSTAGE-11] Add an ASF-compliant source release assembly
Added:
maven/plugins/trunk/maven-stage-plugin/src/main/assembly/
maven/plugins/trunk/maven-stage-plugin/src/main/assembly/source-release.xml (with props)
Modified:
maven/plugins/trunk/maven-stage-plugin/pom.xml
Modified: maven/plugins/trunk/maven-stage-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-stage-plugin/pom.xml?rev=792935&r1=792934&r2=792935&view=diff
==============================================================================
--- maven/plugins/trunk/maven-stage-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-stage-plugin/pom.xml Fri Jul 10 13:09:18 2009
@@ -23,8 +23,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <artifactId>maven-plugins</artifactId>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugins</artifactId>
<version>13</version>
</parent>
@@ -124,6 +124,20 @@
</dependencies>
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.0</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-4</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.plexus</groupId>
@@ -178,5 +192,31 @@
</plugins>
</build>
</profile>
+ <profile>
+ <!-- this should become 'apache-release' when maven-parent-12 is used -->
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <phase>package</phase>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/source-release.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
Added: maven/plugins/trunk/maven-stage-plugin/src/main/assembly/source-release.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-stage-plugin/src/main/assembly/source-release.xml?rev=792935&view=auto
==============================================================================
--- maven/plugins/trunk/maven-stage-plugin/src/main/assembly/source-release.xml (added)
+++ maven/plugins/trunk/maven-stage-plugin/src/main/assembly/source-release.xml Fri Jul 10 13:09:18 2009
@@ -0,0 +1,46 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+ 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>source-release</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>tar.bz2</format>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}</directory>
+ <outputDirectory>/</outputDirectory>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <excludes>
+ <exclude>**/*.iws</exclude>
+ <exclude>**/*.ipr</exclude>
+ <exclude>**/*.iml</exclude>
+ <exclude>*.log</exclude>
+ <exclude>target/**</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.build.directory}/maven-shared-archive-resources/META-INF</directory>
+ <outputDirectory>/</outputDirectory>
+ </fileSet>
+ </fileSets>
+</assembly>
Propchange: maven/plugins/trunk/maven-stage-plugin/src/main/assembly/source-release.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-stage-plugin/src/main/assembly/source-release.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author Id