maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff MAURY <jeffma...@jeffmaury.com>
Subject Re: Get last version of a artifact
Date Wed, 30 Oct 2013 13:44:48 GMT
You're probably missing a dependency.

Jeff


On Wed, Oct 30, 2013 at 2:24 PM, Romain Gilles <romain.gilles@gmail.com>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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message