I used the Maven2 Changes plugin to do very similar :-

See
http://www.nabble.com/Is-there-a-way-to-get-a-Build-Date-Time-and-Version-Release-into-a-Maven-build--t1100519.html#a2930030




On 13/03/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> is there a way to include that maven-metadata.xml into created .ear
> artifacts? i guess right now its being created on the
> fly, and stays in repository , but i want to include that xml file into
> .ear then deploy it to server so later i can directly access this like
> (www.mycompany.com/release-info.xml}
>
>
>
>
>
>
> Thanks,
> Raghu
>
>
>
>
>
> Emmanuel Venisse <[EMAIL PROTECTED]>
> 03/13/2006 02:48 AM
> Please respond to "Maven Users List"
>
>
>        To:     Maven Users List <[email protected]>
>        cc:
>        Subject:        Re: How to add release-info
>
>
> Actually, only maven-metadata.xml file is available and it contains some
> informations like list of
> release, last updated date and current version
>
> Do you need more informations?
>
> You can create a new plugin attached to deploy phase that will do the
> work.
>
> Emmanuel
>
> raghu guru a écrit :
> > Hi All
> >
> > I'm using maven2.0.2 when i deploy my artifacts i want to create an xml
> file
> > called release-info.xml so when these artifacts deployed into server,
> and
> > when i need to know the deployed version of my artifact i can directly
> > access this xml to see. These xml contains the buildnumber,date,and some
> > other details..
> >
> > Is this possible with maven build,? is there something maven already
> does
> > it?, any one has any idea on this , please share
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>

Reply via email to