This page shows 2.0-alpha-4
http://maven.apache.org/plugins/index.html
I have it working using version 2.0 of the plugin.
-----Original Message-----
From: Brian E. Fox [mailto:brianf@reply.infinity.nu]
Sent: Monday, March 03, 2008 3:39 PM
To: Maven Users List
Subject: RE: maven-dependency-plugin not unpacking properly
I added an IT for this, it's working ok:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin
/src/it/filterunpack/?pathrev=633266
Look at the pom to see how to use it. (should be the same for unpack
goal too)
-----Original Message-----
From: Brian E. Fox [mailto:brianf@reply.infinity.nu]
Sent: Monday, March 03, 2008 3:20 PM
To: Maven Users List
Subject: RE: maven-dependency-plugin not unpacking properly
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:ejciramella@upromise.com]
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:brianf@reply.infinity.nu]
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:ejciramella@upromise.com]
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:ejciramella@upromise.com]
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:brianf@reply.infinity.nu]
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:ejciramella@upromise.com]
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:brianf@reply.infinity.nu]
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:ejciramella@upromise.com]
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
|