Re: how can I to use build time in pom files

2008-01-22 Thread Rex Huang
yes, this is work, but I don't know why it can't transfer this value via properties. Rex On Jan 21, 2008 7:17 PM, Mick Knutson <[EMAIL PROTECTED]> wrote: > actually, why can't you just add ${buildNumber} to your Versions.txt ??? > > > On Jan 21, 2008 10:17 AM, Mick Knutson <[EMAIL PROTECTED]> wr

Re: how can I to use build time in pom files

2008-01-21 Thread Mick Knutson
actually, why can't you just add ${buildNumber} to your Versions.txt ??? On Jan 21, 2008 10:17 AM, Mick Knutson <[EMAIL PROTECTED]> wrote: > Add this to your filter.properties: > > BUILDTIME=${buildNumber} > > > > On Jan 21, 2008 9:10 AM, Rex Huang <[EMAIL PROTECTED]> wrote: > > > yah, use build

Re: how can I to use build time in pom files

2008-01-21 Thread Mick Knutson
Add this to your filter.properties: BUILDTIME=${buildNumber} On Jan 21, 2008 9:10 AM, Rex Huang <[EMAIL PROTECTED]> wrote: > yah, use buildnumber-maven-plugin may be better. > one strange thing is I can't use ${buildNumber} in filter, > when I want to replace $BUILDTIME in the resource file. >

Re: how can I to use build time in pom files

2008-01-21 Thread Rex Huang
yah, use buildnumber-maven-plugin may be better. one strange thing is I can't use ${buildNumber} in filter, when I want to replace $BUILDTIME in the resource file. such as: in pom.xml ${buildNumber} src/main/resources true Version.txt

Re: how can I to use build time in pom files

2008-01-21 Thread Mick Knutson
org.codehaus.mojo buildnumber-maven-plugin 1.0-beta-1-SNAPSHOT validate

RE: how can I to use build time in pom files

2008-01-21 Thread nicklist
[mailto:[EMAIL PROTECTED] Sent: Mon 1/21/2008 5:02 PM To: Maven Users List Subject: Re: how can I to use build time in pom files I found information of maven-buildnumber-plugin here: http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html it's works! Rex On Jan 18, 2008 3:33 PM,

Re: how can I to use build time in pom files

2008-01-21 Thread Rex Huang
I found information of maven-buildnumber-plugin here: http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html it's works! Rex On Jan 18, 2008 3:33 PM, Mark Eramo <[EMAIL PROTECTED]> wrote: > Rex, > Have a look at the Maven build number plugin. It may be able to do > what you ne

Re: how can I to use build time in pom files

2008-01-18 Thread Mark Eramo
Rex, Have a look at the Maven build number plugin. It may be able to do what you need. *http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html* Regards, Mark Rex Huang wrote: Does maven has build time property, which I can use in pom files ${build time} BR//Rex ---

Re: how can I to use build time in pom files

2008-01-18 Thread amit kumar
You can use buildnumber-maven-plugin, for this but i was able to have date+time... tried only time format but it wasn't running. If this solves your purpose lemme know, I will share the relevant portion of my pom. On Jan 18, 2008 7:58 PM, Rex Huang <[EMAIL PROTECTED]> wrote: > Does maven has buil