> Subject: Re: Replacement for ArtifactResolver in Maven-3?
> From: [email protected]
> Date: Sun, 25 May 2014 08:18:31 -0400
> To: [email protected]
>
>
> On May 25, 2014, at 4:20 AM, William Ferguson
> <[email protected]> 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 <role> and <implementation>
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
> [email protected] - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>