This requires Maven 3.0.4+.

/Anders


On Fri, Jan 18, 2013 at 5:52 PM, Olivier Lamy <[email protected]> wrote:

> Last version of jar plugin should add an entry in MANIFEST
> with Created-By: Apache Maven ${maven.version}
>
> 2013/1/18 Mark H. Wood <[email protected]>:
> > There's a desire for our product to be able to say, at runtime, what
> > version of Maven was used to build it.  Somewhat surprisingly I wasn't
> > able to find a predefined property holding this information.
> >
> > There *is* a class one can instantiate which offers a method to return
> > that information, but before I go writing up a whole plugin just for
> > this little thing, I thought I should ask if there's an easier way
> > that I missed.
> >
> > Ultimately I will likely filter the value into a Properties-formatted
> > file to be loaded at need.
> >
> > --
> > Mark H. Wood, Lead System Programmer   [email protected]
> > There's an app for that:  your browser
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to