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] wrote:
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 need.
[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, Mark
!-- ===--
!-- Build Number Plugin --
!-- ===--
!--
This mojo is designed to get a unique build number for each
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
properties
BUILDTIME${buildNumber}/BUILDTIME
/properties
resource
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.
such
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
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
my-property${build
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 build