Chad Woolley wrote:
Hi,
I want to be able to override the currentversion that is used when I do a build. I attempted to do this, but it seems that the pom currentversion property cannot be changed.
My goal is to use the version that is provided in a property by my continuous integration tool (anthill).
Is this possible?
Thanks, Chad
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Define it as <currentVersion>${currentVersion}</currentVersion> then do
>maven -DcurrentVersion=1.1
or
>maven -DcurrentVersion=1.1-SNAPSHOT--
Erik Husby
Team Lead for Software Quality Automation
Broad Institute of MIT and Harvard Rm. 2192 320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
