Have a look especially at:

the

 findLatestVersion( Artifact, VersionRange )

method in

http://svn.codehaus.org/mojo/trunk/sandbox/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/AbstractVersionsUpdaterMojo.java

and the mojo

http://svn.codehaus.org/mojo/trunk/sandbox/versions-maven-plugin/src/main/java/org/codehaus/mojo/versions/UpdateParentMojo.java

On Tue, Aug 12, 2008 at 6:32 AM, Stephen Connolly <
[EMAIL PROTECTED]> wrote:

> have a look at http://mojo.codehaus.org/versions-maven-plugin.  It does
> just what you describe
>
>
> On Mon, Aug 11, 2008 at 11:00 PM, sverhagen <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi, I'm trying to make a little plugin. I know how to get the reactor's
>> MavenProject's in there, and now I want to query these object for their
>> parents, and ask the parents what of their versions are available (e.g. in
>> the local repo).
>>
>> I see a Artifact.getAvailableVersions which returns nothing for the result
>> of a MavenProject.getArtifact.
>>
>> Any help, thanks!
>> --
>> View this message in context:
>> http://www.nabble.com/Available-versions-of-MavenProject%27s-parent-tp18934631p18934631.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

Reply via email to