maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Woodford (JIRA)" <>
Subject [jira] Created: (MRELEASE-487) release:prepare mojo corrupts ${} variable reference in the <scm> tag
Date Mon, 21 Sep 2009 11:58:16 GMT
release:prepare mojo corrupts ${} variable reference in the <scm> tag

                 Key: MRELEASE-487
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.0-beta-7
         Environment: windows-xp
maven 2.1.0
            Reporter: Andrew Woodford

We have a parent pom which is used for inheritance. We would like the <scm> tag to be
inherited by child projects (not modules) and have entered the following.


The problems is that the ${project.artifactId} variable is expanded during the release:prepare
operation. It appears to happen in the writing of the next snapshot release version of the
pom. i.e. The released pom (1.0) still contains the variable reference but new snapshot version
(1.1-SNAPSHOT) has the expanded value.  e.g...


This forces us to place the scm tag in all child poms which we'd prefer not to do.


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