Hello,

Had a query regarding parameterized pom.xml versioning:

I would like to keep the version numbers out of the pom.xml file completely,
Currently I'm using the
following syntax:

<version>${module_version}</version>

And running Maven with:

mvn -Dmodule_version=1.0-beta-3 deploy

This is working fine, except that the deployed pom which gets installed into
my repository doesn't resolve this variable.  It does get installed into the
correct directory structure, however the pom.xml still contains
${module_version} instead of "1.0-beta-3".  I've been getting around this
temporarily by manually correcting the poms...but shouldn't this be handled
in the deploy plugin?

Or is there any other approach other than making use of the release plugin ?

Thanks,
Amit Chhajed
Senior Developer
GBM | Royal Bank Of Scotland

***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
www.rbs.com
www.rbsgc.com
www.rbsmarkets.com
***********************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to