maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bentmann <benjamin.bentm...@udo.edu>
Subject Re: fetching latest release of an artifact
Date Thu, 15 Oct 2009 09:21:03 GMT
gerhard presser wrote:

> because of that i want to fetch the last release of my artifact.
> how can i do that. i'm playing around with ArtifactResolver,
> ArtifactMetadataSource etc.
> is this the right way?

Yes, [0] and [1] could provide further hints on using those components. 
IIRC, the artifact resolver will understand the RELEASE version by 
itself, so you should be able to leave the MetadataSource alone.


Benjamin


[0] http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook
[1] 
http://maven.apache.org/plugins/maven-dependency-plugin/source-repository.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message