maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lou S (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MRELEASE-320) Expressions are replaced with settings.xml values during release:prepare
Date Thu, 31 Jan 2008 23:02:57 GMT
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}:${svnPassword}@svnit/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

        

Mime
View raw message