Hi!

Have a look at versions-maven-plugin. It provides a goal for updating the 
parent [0]. Maybe you can reuse code from it.

hth,
- martin

[0] http://mojo.codehaus.org/versions-maven-plugin/update-parent-mojo.html

On Friday 17 December 2010 Asmann, Roland wrote:
> Currently I am not using this, but I want the enforcer to check which
> version 'LATEST' is and tell the user he should update to that version!
>
> On 17-12-10 17:04, Brian Fox wrote:
> > Don't use RELEASE or LATEST.
> >
> > On Fri, Dec 17, 2010 at 7:43 AM, Asmann, Roland
> >
> > <roland.asm...@adesso.at> wrote:
> >  > Hi all,
> >  >
> >  > I'm writing an enforcer-rule, that should check if my parent is the
> >  > LATEST version. How can I get the actual version for 'LATEST'?
> >  >
> >  > Thanks!
> >  >
> >  > --
> >  > Roland Asmann
> >  > Senior Software Engineer
> >  >
> >  > adesso Austria GmbH
> >  > Floridotower 26. Stock              T +43 1 2198790-27
> >  > Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
> >  > A-1210 Wien                         M +43 664 88657566
> >  >                                    E roland.asm...@adesso.at
> >  >                                    W www.adesso.at
> >  >
> >  > -------------------------------------------------------------
> >  >
> >  > >>> business. people. technology. <<<
> >  >
> >  > -------------------------------------------------------------
> >  >
> >  > --------------------------------------------------------------------
> >  >- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> >  > For additional commands, e-mail: users-h...@maven.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org


Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to