You've hit https://jira.codehaus.org/browse/MRELEASE-128
It has been fixed and will be part of the next release.

Robert

Op Mon, 16 Apr 2012 23:31:11 +0200 schreef Jeff <[email protected]>:

I'm trying to share the SCM settings, primarly the SCM root URL, but when I perform a release, the parameters are changed to explicit values, defeating
the purpose.  Is there any way to make it not do that?

For example, during the release process, the following:

  <scm>
    <connection>scm:svn:${scm.root}/${project.artifactId}</connection>

<developerConnection>scm:svn:${scm.root}/${project.artifactId}</developerConnection>
    <url>${scm.root}/${project.artifactId}</url>
  </scm>

Changes into:

  <scm>
    <connection>scm:svn:http://svn:8083/MyTeam/ParentPom</connection>
    <developerConnection>scm:svn:http://svn:8083/MyTeam/ParentPom
</developerConnection>
    <url>http://svn:8083/MyTeam/ParentPom</url>
  </scm>
If it didn't change, then I could keep the parameterized version in the
ParentPOM and all children would work. But out of the box, this won't work.

Can the SCM section be parameterized/shared?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to