You're probably missing a dependency.

Jeff


On Wed, Oct 30, 2013 at 2:24 PM, Romain Gilles <[email protected]>wrote:

> Hi all,
> I'm developing a maven plugin and I want to discover the last version of a
> specific artifact. I had a look to the maven-vesions-plugin. But I don't
> know why when I try to get a (deprecated) ArtifacteMetadataSource as
> follow:
>    @Component
>     private ArtifactMetadataSource artifactMetadataSource
>
> I get an exception:
>
> 1) No implementation for
> org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource was
> bound.
>
> I'm usign Maven 3.0.5 as a model and runtime.
> Could somebody help me?
>
> Thanks,
>
> Romain.
>



-- 
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Reply via email to