Re: Is there any way to get timestamp in maven?

2007-04-20 Thread Andrius Ĺ abanas
Chen Li wrote: Hi, It might be a very basic question. I want to add timestamp to the distribute, for instance ${DSTAMP}.war . Is there any similar way in maven can do it like what does in ant? Check out this plugin: http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html I

Re: [Spam] Is there any way to get timestamp in maven?

2007-04-19 Thread David Corbin
On Wednesday 18 April 2007 17:41, Chen Li wrote: > Hi, > > It might be a very basic question. > > I want to add timestamp to the distribute, for instance ${DSTAMP}.war . > Is there any similar way in maven can do it like what does in > ant? You can use Groovy. http://pteropus.blogspot.com/2007/0

Re: Is there any way to get timestamp in maven?

2007-04-19 Thread Jeroen Leenarts
This'll help a bit too I think: http://docs.codehaus.org/display/MAVENUSER/Creating+the+repositories (search for "uniqueVersion" with your browser on the page.) On 19/04/07, Jeroen Leenarts <[EMAIL PROTECTED]> wrote: Look into the distributionmanagement section of the Maven pom: http://maven.a

Re: Is there any way to get timestamp in maven?

2007-04-19 Thread Jeroen Leenarts
Look into the distributionmanagement section of the Maven pom: http://maven.apache.org/ref/2.0.4/maven-model/maven.html#class_distributionManagement Note the "uniqueVersion" element. Jeroen On 18/04/07, Chen Li <[EMAIL PROTECTED]> wrote: Hi, It might be a very basic question. I want to add

Is there any way to get timestamp in maven?

2007-04-18 Thread Chen Li
Hi, It might be a very basic question. I want to add timestamp to the distribute, for instance ${DSTAMP}.war . Is there any similar way in maven can do it like what does in ant? Thanks, Chen - To unsubscribe, e-mail: [EMAIL P