Maybe it can be made it more generic to also include the buildDate?
All these properties should be namespaced I believe, like
${build-helper.buildDate} ${build-helper.buildNumber} etc
The buildDate might depend on a mojo property buildDateFormat,
defaulted to "YYYY MM dd hh:mm"
--
With kind regards,
Geoffrey De Smet
Julian Wood wrote:
We talked about this on mojo-dev, in the context of getting build
numbers. I wrote a plugin to do this, and you can look at it here.
http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/
It just gets the most current revision number from svn and lets you
access it in your pom with ${$buildNumber}
It uses some snapshot dependencies, so hopefully I've got that sorted
out in the pom, but otherwise you'll need to build and install scm from
svn.
J
On 21-Feb-06, at 5:20 AM, Wouter de Vaal wrote:
Hi,
All is working well now, but how do I get the ant property into my
maven manifest file?
When I refer to it like a property, the value that get's returned is
null.
Are the ant properties at all available outside the scope of the ant
task?
Wouter
On 2/21/06, Kees de Kooter <[EMAIL PROTECTED]> wrote:
Yes, you need ant-contrib.jar (like it says in the comment ;-)).
You can find it here: http://ant-contrib.sourceforge.net/
On 2/21/06, Wouter de Vaal <[EMAIL PROTECTED]> wrote:
Well I'm trying your solution anyway now, but ant can't run the task
propertyregex.
Do I need an optional library for that? I can't find the task in the
ant manual
Wouter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Julian Wood <[EMAIL PROTECTED]>
Programmer/Analyst
University of Calgary
http://commons.ucalgary.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]