maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
Is anyone else able to use the unpack-dependencies plugin goal and
specify, say, a single file?
 
configuration
excludes**/*/excludes
includescommon.properties/includes
 
I've tried everything I can think of (all kinds of patterens and what
not), but this doesn't work at all.


RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread Brian E. Fox
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
includescommon.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]



RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
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
includescommon.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]



RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread Brian E. Fox
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
includescommon.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]



RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
version2.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
includescommon.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]



RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
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

version2.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
includescommon.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]



RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread Brian E. Fox
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

version2.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
includescommon.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]



RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
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

version2.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
includescommon.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]



RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread Brian E. Fox
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

version2.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
includescommon.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]



RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread Brian E. Fox
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:[EMAIL PROTECTED] 
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:[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

version2.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
includescommon.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

RE: maven-dependency-plugin not unpacking properly

2008-03-03 Thread EJ Ciramella
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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED] 
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:[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

version2.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
includescommon.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