You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2009/05/28 03:41:40 UTC
svn commit: r779392 - in
/maven/plugins/branches/maven-assembly-plugin-2.2-beta-4: pom.xml
src/main/assembly/ src/main/assembly/project.xml
Author: jdcasey
Date: Thu May 28 01:41:39 2009
New Revision: 779392
URL: http://svn.apache.org/viewvc?rev=779392&view=rev
Log:
Adding assembly descriptor used to produce the source-release artifact for this plugin during the release process. It's a repaired version of the 'project' descriptorRef, which didn't work properly in 2.2-beta-3 of the assembly plugin.
Added:
maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/src/main/assembly/
maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/src/main/assembly/project.xml (with props)
Modified:
maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/pom.xml
Modified: maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/pom.xml?rev=779392&r1=779391&r2=779392&view=diff
==============================================================================
--- maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/pom.xml (original)
+++ maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/pom.xml Thu May 28 01:41:39 2009
@@ -411,6 +411,35 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <!-- Using this plugin configuration to produce a buildable project source distro,
+ per the discussion on members@ASF regarding what constitutes a valid release.
+ -->
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-3</version>
+ <executions>
+ <execution>
+ <id>make-project-src-distro</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/project.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<reporting>
Added: maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/src/main/assembly/project.xml
URL: http://svn.apache.org/viewvc/maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/src/main/assembly/project.xml?rev=779392&view=auto
==============================================================================
--- maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/src/main/assembly/project.xml (added)
+++ maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/src/main/assembly/project.xml Thu May 28 01:41:39 2009
@@ -0,0 +1,39 @@
+<?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>project</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>*.log</exclude>
+ <exclude>target/**</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+</assembly>
Propchange: maven/plugins/branches/maven-assembly-plugin-2.2-beta-4/src/main/assembly/project.xml
------------------------------------------------------------------------------
svn:eol-style = native