Expressions are replaced with settings.xml values during release:prepare
------------------------------------------------------------------------
Key: MRELEASE-320
URL: http://jira.codehaus.org/browse/MRELEASE-320
Project: Maven 2.x Release Plugin
Issue Type: Bug
Affects Versions: 2.0-beta-7
Environment: win32, SVN
Reporter: Lou S
I've noticed that my expressions I have in my pom.xml are being overwritten
with the actual values in my settings.xml. For instance, in the <scm> tag
below I want to do a substitution for the svnAccount and password based on the
user's setting.xml, which works fine. However, when I run release:prepare, it
will replace these values with my systems values and check that into SVN. This
is really bad because then my credentials are listed clear as day in the new
pom.xml that was checked in.
Expectation is expressions would be retained upon release.
<scm>
<connection>
scm:svn:http://${svnAccount}:[EMAIL
PROTECTED]/xxx/common/XXX/trunk/XXX
</connection>
<url>http://svnit/xxx/common/XXX/trunk/XXX</url>
</scm>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira