maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Glauche (JIRA)" <>
Subject [jira] Commented: (MRELEASE-128) SCM properties being replaced during release:perform
Date Thu, 26 Aug 2010 08:18:33 GMT


Michael Glauche commented on MRELEASE-128:

I think i found some workaround at least for the username/password issue:

First, remove the parameters from the SCM url like this:


This way only works if you supply the release plugin with an username/password, like -Dusername=...

Fortunately you can set it in the build section like this:

Then you just need to define maven.scm.username and password in your local settings and things
start to look better :)

> SCM properties being replaced during release:perform
> ----------------------------------------------------
>                 Key: MRELEASE-128
>                 URL:
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>         Environment: Windows XP client, Linux repo, CVS, Maven 2.0.4
>            Reporter: Craig Dickson
>            Assignee: Emmanuel Venisse
>            Priority: Critical
>             Fix For: 2.1
>         Attachments: after-release-perform-pom.xml, after-release-prepre-pom.xml, MNG-128-maven-release-manager.patch,, original-pom.xml
> The <scm> section of a pom in CVS for a pom archetype project looks like this prior
to executing release:prepare :
> <scm>
> 	<connection>${base.cvs.url}:commons-maven/uber-pom</connection>
> 	<developerConnection>${base.cvs.url}:commons-maven/uber-pom</developerConnection>
> 	<url>${base.viewcvs.url}/commons-maven/uber-pom</url>
> </scm>
> Then after executing release:prepare, the pom in CVS looks like this (new <tag>
tag is only difference):
> <scm>
> 	<connection>${base.cvs.url}:commons-maven/uber-pom</connection>
> 	<developerConnection>${base.cvs.url}:commons-maven/uber-pom</developerConnection>
> 	<url>${base.viewcvs.url}/commons-maven/uber-pom</url>
> 	<tag>R-1_7</tag>
> </scm>
> Then after executing release:perform, the pom looks like this in CVS:
> <scm>
> 	<connection></connection>
> 	<developerConnection></developerConnection>
> 	<url></url>
> </scm>
> Notice that the properties that were there for the base URLs for CVS and ViewCVS have
been replaced with literal values. 
> No other properties in the POM are being replaced

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message