On 18/05/2009, at 3:56 PM, Benjamin Bentmann wrote:
Hi Brian,
Author: brianf
Date: Mon May 18 01:15:18 2009
New Revision: 775789
URL: http://svn.apache.org/viewvc?rev=775789&view=rev
Log:
add new component to hold the asf specific source descriptor
+<assembly>
+ <id>source-release</id>
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}</directory>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <excludes>
+ <exclude>**/${project.build.directory}/**</exclude>
+ </excludes>
Is this <exclude> working reliably? AFAIK, include/exclude patterns
are usually relative to the fileset's base directory but $
{project.build.directory} could resolve to an absolute path,
couldn't it?
I checked with 2.2-beta-3 and it doesn't behave correctly (it is
always an absolute path), and fails trying to include the tarball
itself from target. Does it require a more recent assembly plugin
change?
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]