Was just talking about this in another thread.

One way is to use the maven-buildnumber-plugin to generate a timestamp for you, and then change the finalName element in your build.

http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html

IIRC though, this will work for packaging, but not for deploying/ releasing, which both create it's finalName differently than that specified, and is one reason (of several) why I like to tuck away the version numbers in some meta data in the war file, rather than in the filename. The filename is a SNAPSHOT (and unchanging) until released, at which point it does get a different filename. But maybe you need it anyway.

HTH,

J

On 31-May-06, at 3:53 AM, Christian Wiesing wrote:

Hello.

Is it possible to put the current date into the filename of the war- archive? (like project-20060501.war)

Thanks.

Christian

--
Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to