The version specific docs are a new thing, but what it does say is this:
excludes
A comma separated list of file patterns to exclude when unpacking the
artifact. i.e. **\/*.xml,**\/*.properties
* Type : java.lang.String
* Since : 2.0-alpha-5
* Required : No
* Expression : ${mdep.unpack.excludes}
includes
A comma separated list of file patterns to include when unpacking the
artifact. i.e. **\/*.xml,**\/*.properties
* Type : java.lang.String
* Since : 2.0-alpha-5
* Required : No
* Expression : ${mdep.unpack.includes}
Notice the @since part.
I'll create a test project to double check this functionality.
-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2008 2:41 PM
To: Maven Users List
Subject: RE: maven-dependency-plugin not unpacking properly
The docs are for this particular version yet they include this option
(and still it doesn't work).
-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2008 2:40 PM
To: Maven Users List
Subject: RE: maven-dependency-plugin not unpacking properly
<version>2.0-alpha-4</version>
I'm guessing I need to ditch the alpha part now?
-----Original Message-----
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2008 2:23 PM
To: Maven Users List
Subject: RE: maven-dependency-plugin not unpacking properly
What version of the plugin are you using? This is only available in 2.0.
-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2008 2:09 PM
To: Maven Users List
Subject: RE: maven-dependency-plugin not unpacking properly
I initially only had the includes, but I'm getting everything out of the
artifact.
Any other suggestions?
-----Original Message-----
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2008 1:14 PM
To: Maven Users List
Subject: RE: maven-dependency-plugin not unpacking properly
The plexus archiver component code works like this:
return isIncluded( name ) && !isExcluded( name );
So basically the excludes **/* is overriding the includes. Most likely
you only want <includes>**/common.properties</includes>
--Brian
-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2008 12:01 PM
To: [email protected]
Subject: maven-dependency-plugin not unpacking properly
Is anyone else able to use the unpack-dependencies plugin goal and
specify, say, a single file?
<configuration>
<excludes>**/*</excludes>
<includes>common.properties</includes>
I've tried everything I can think of (all kinds of patterens and what
not), but this doesn't work at all.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]