Maven dependency plugin - stripClassifier

2014-05-25 Thread DenisDasKind
Hi to all, 

i have the following trouble when using the maven dependency plugin, and
especially the unpack-dependencies.
I have 3 different dependencies test1, test2, and tes3, and i would like to
unpack each dependency into separate folder as example into test1, test2,
etc.  Therefor i use the option useSubDirectoryPerArtifact, but the problem
is that this option create a direcory with the artifactId and the
Classifier. When i set stripClassifier to false, it has no effect.
If this doesn't work, i can include each artifact manually, but this is not
a very good solution, when i have 10 dependencies.

Thank you in advance! 



--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-dependency-plugin-stripClassifier-tp5794091.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Replacement for ArtifactResolver in Maven-3?

2014-05-25 Thread William Ferguson
Thanks. Much appreciated.


On Mon, May 26, 2014 at 5:08 AM, Martin Gainty  wrote:

>
>
>
> > Subject: Re: Replacement for ArtifactResolver in Maven-3?
> > From: dk...@apache.org
> > Date: Sun, 25 May 2014 08:18:31 -0400
> > To: users@maven.apache.org
> >
> >
> > On May 25, 2014, at 4:20 AM, William Ferguson <
> william.fergu...@xandar.com.au> wrote:
> >
> > > ArtifactResolver has been deprecated but it doesn't provide guidance
> on an
> > > appropriate replacement.
> > > http://maven.apache.org/ref/3.2.1/maven-compat/apidocs/index.html
> > >
> > > In the spirit of trying to move in the right direction what should I
> use
> > > instead?
> >
> >
> > I looked into this twice last week and ended up using
>  org.apache.maven.repository.RepositorySystem
> >
> > See:
> >
> https://svn.apache.org/repos/asf/aries/trunk/versioning/versioning-plugin/src/main/java/org/apache/aries/versioning/mojo/VersionCheckerMojo.java
> >
> MG>make sure you update your components.xml  and 
> definitions:MG>
> http://svn.apache.org/repos/asf/maven/sandbox/branches/maven-2.0.9/maven-artifact-manager/src/main/resources/META-INF/plexus/components.xmlMG>otherwise
>  your injector will inject the wrong implementor for MG>legacy
> ArtifactResolver interface
> >
> >
> > --
> > Daniel Kulp
> > dk...@apache.org - http://dankulp.com/blog
> > Talend Community Coder - http://coders.talend.com
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
>
>


RE: Replacement for ArtifactResolver in Maven-3?

2014-05-25 Thread Martin Gainty


 
> Subject: Re: Replacement for ArtifactResolver in Maven-3?
> From: dk...@apache.org
> Date: Sun, 25 May 2014 08:18:31 -0400
> To: users@maven.apache.org
> 
> 
> On May 25, 2014, at 4:20 AM, William Ferguson 
>  wrote:
> 
> > ArtifactResolver has been deprecated but it doesn't provide guidance on an
> > appropriate replacement.
> > http://maven.apache.org/ref/3.2.1/maven-compat/apidocs/index.html
> > 
> > In the spirit of trying to move in the right direction what should I use
> > instead?
> 
> 
> I looked into this twice last week and ended up using  
> org.apache.maven.repository.RepositorySystem
> 
> See:
> https://svn.apache.org/repos/asf/aries/trunk/versioning/versioning-plugin/src/main/java/org/apache/aries/versioning/mojo/VersionCheckerMojo.java
> 
MG>make sure you update your components.xml  and  
definitions:MG>http://svn.apache.org/repos/asf/maven/sandbox/branches/maven-2.0.9/maven-artifact-manager/src/main/resources/META-INF/plexus/components.xml
 MG>otherwise your injector will inject the wrong implementor for MG>legacy 
ArtifactResolver interface
> 
> 
> -- 
> Daniel Kulp
> dk...@apache.org - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
  

Re: Replacement for ArtifactResolver in Maven-3?

2014-05-25 Thread Daniel Kulp

On May 25, 2014, at 4:20 AM, William Ferguson  
wrote:

> ArtifactResolver has been deprecated but it doesn't provide guidance on an
> appropriate replacement.
> http://maven.apache.org/ref/3.2.1/maven-compat/apidocs/index.html
> 
> In the spirit of trying to move in the right direction what should I use
> instead?


I looked into this twice last week and ended up using  
org.apache.maven.repository.RepositorySystem

See:
https://svn.apache.org/repos/asf/aries/trunk/versioning/versioning-plugin/src/main/java/org/apache/aries/versioning/mojo/VersionCheckerMojo.java




-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Replacement for ArtifactResolver in Maven-3?

2014-05-25 Thread William Ferguson
ArtifactResolver has been deprecated but it doesn't provide guidance on an
appropriate replacement.
http://maven.apache.org/ref/3.2.1/maven-compat/apidocs/index.html

In the spirit of trying to move in the right direction what should I use
instead?

William