Hi,
Is it possible to manipulate variables to create other ones?
For example,
For the release:prepare goal I would like my tag to be based on the
current version.
So, if my current version is:
1.6-SNAPSHOT
I would like the release tag to be
rel_1_6
(CVS doesn't like '.' in tag names)
I thought doing some Java code in the plugin section might do the trick:
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tag>rel_${version.replace("-SNAPSHOT","").replaceAll("\.",
"_")</tag>
</configuration>
</plugin>
Alas, this doesn't work. Any ideas?
Michael McCrann
NOTICE
This e-mail and any attachments are confidential and may contain copyright
material of Macquarie Bank or third parties. If you are not the intended
recipient of this email you should not read, print, re-transmit, store or act
in reliance on this e-mail or any attachments, and should destroy all copies of
them. Macquarie Bank does not guarantee the integrity of any emails or any
attached files. The views or opinions expressed are the author's own and may
not reflect the views or opinions of Macquarie Bank.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]