You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Asmann, Roland" <Ro...@adesso.at> on 2010/12/17 13:43:43 UTC
How to resolve 'LATEST'
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.asmann@adesso.at
W www.adesso.at
-------------------------------------------------------------
>>> business. people. technology. <<<
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to resolve 'LATEST'
Posted by Martin Höller <ma...@xss.co.at>.
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
> >
> > <Ro...@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.asmann@adesso.at
> > > W www.adesso.at
> > >
> > > -------------------------------------------------------------
> > >
> > > >>> business. people. technology. <<<
> > >
> > > -------------------------------------------------------------
> > >
> > > --------------------------------------------------------------------
> > >- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
Re: How to resolve 'LATEST'
Posted by "Asmann, Roland" <Ro...@adesso.at>.
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
> <Ro...@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.asmann@adesso.at
> > W www.adesso.at
> >
> > -------------------------------------------------------------
> > >>> business. people. technology. <<<
> > -------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
--
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.asmann@adesso.at
W www.adesso.at
-------------------------------------------------------------
>>> business. people. technology. <<<
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to resolve 'LATEST'
Posted by Brian Fox <br...@infinity.nu>.
Don't use RELEASE or LATEST.
On Fri, Dec 17, 2010 at 7:43 AM, Asmann, Roland <Ro...@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.asmann@adesso.at
> W www.adesso.at
>
> -------------------------------------------------------------
> >>> business. people. technology. <<<
> -------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org