Are you running this from the command line like mvn dependency:unpack / unpack-dependencies or is it bound to a phase in your pom? If it's from the CLI, you may be seeing this maven bug: MNG-3401 (also see first faq entry in the dependency plugin faq)
I'm not sure where you see 2.0-alpha-4 because the main site says 2.0: http://maven.apache.org/plugins/maven-dependency-plugin/ -----Original Message----- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 3:14 PM To: Maven Users List Subject: RE: maven-dependency-plugin not unpacking properly Ahhh - very true. But at the "entry" point for the dependency docs, it specifies "2.0-alpha-4". Please fix. -----Original Message----- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 2:55 PM To: Maven Users List Subject: RE: maven-dependency-plugin not unpacking properly 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: users@maven.apache.org 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] --------------------------------------------------------------------- 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]