You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2008/12/19 07:32:35 UTC

[jira] Updated: (MRELEASE-320) Expressions are replaced with settings.xml values during release:prepare

     [ http://jira.codehaus.org/browse/MRELEASE-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MRELEASE-320:
-------------------------------------

    Component/s: prepare

> 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
>          Components: prepare
>    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