You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by CD...@behr.com on 2006/06/05 18:50:04 UTC

M2: SCM properties being replaced during release:perform

Hi,

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>scm:cvs:pserver:behrcvs.masco-coatings.com:/usr/cvsroot:commons-maven/uber-pom</connection>
 
<developerConnection>scm:cvs:pserver:behrcvs.masco-coatings.com:/usr/cvsroot:commons-maven/uber-pom</developerConnection>
        <url>
http://behrcvs.masco-coatings.com/cgi-bin/viewcvs.cgi/commons-maven/uber-pom
</url>
</scm>


Notice that the properties that were there for the base URLs for CVS and 
ViewCVS have been replaced with literal values.

Is this a bug or is this functioning as designed?

No other properties in the POM are being treated this way.

Thanks.





------------------------------------------------------- 
The information contained in this e-mail message may be proprietary, 
privileged, confidential or protected from disclosure. If you are not the 
intended recipient, any dissemination, distribution or copying is strictly 
prohibited. If you think that you have received this e-mail message in 
error, please e-mail the sender. 

------------------------------------------------------- 
The information contained in this e-mail message may be proprietary, 
privileged, confidential or protected from disclosure. If you are not the 
intended recipient, any dissemination, distribution or copying is strictly 
prohibited. If you think that you have received this e-mail message in 
error, please e-mail the sender. 

Re: M2: SCM properties being replaced during release:perform

Posted by Emmanuel Venisse <em...@venisse.net>.
File an issue.

Emmanuel

CDickson@behr.com a écrit :
> Hi,
> 
> 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>scm:cvs:pserver:behrcvs.masco-coatings.com:/usr/cvsroot:commons-maven/uber-pom</connection>
>  
> <developerConnection>scm:cvs:pserver:behrcvs.masco-coatings.com:/usr/cvsroot:commons-maven/uber-pom</developerConnection>
>         <url>
> http://behrcvs.masco-coatings.com/cgi-bin/viewcvs.cgi/commons-maven/uber-pom
> </url>
> </scm>
> 
> 
> Notice that the properties that were there for the base URLs for CVS and 
> ViewCVS have been replaced with literal values.
> 
> Is this a bug or is this functioning as designed?
> 
> No other properties in the POM are being treated this way.
> 
> Thanks.
> 
> 
> 
> 
> 
> ------------------------------------------------------- 
> The information contained in this e-mail message may be proprietary, 
> privileged, confidential or protected from disclosure. If you are not the 
> intended recipient, any dissemination, distribution or copying is strictly 
> prohibited. If you think that you have received this e-mail message in 
> error, please e-mail the sender. 
> 
> ------------------------------------------------------- 
> The information contained in this e-mail message may be proprietary, 
> privileged, confidential or protected from disclosure. If you are not the 
> intended recipient, any dissemination, distribution or copying is strictly 
> prohibited. If you think that you have received this e-mail message in 
> error, please e-mail the sender. 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org