Maven 2.x Release Plugin

mutable CVS User

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.1
  • Fix Version/s: None
  • Component/s: scm
  • Labels:
    None
  • Environment:
    Maven version: 2.0.8
    Java version: 1.5.0_05
    OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
  • Number of attachments :
    0

Description

Hi, I would like to have a mutable user of the cvs-connection, since the changes are done of different users. So I tried to do it like this:
<scm>
<connection>scm:cvs:pserver:${CVS_USER}@<CVS-URL></connection>
</scm>

The ${CVS_USER} is a property in settings.xml. This works fine for the first time, but when doing mvn release:clean release:prepare maven substitutes the CVS_USER for the current user and checks the pom in like this:
<scm>
<connection>scm:cvs:pserver:<user>@<CVS-URL></connection>
</scm>

It would be good, if the pom wouldn't override the variable ${CVS_USER}.

Issue Links

Activity

Hide
Michael Wenig added a comment -

MRELEASE-128 contains a patch which solves this issue

Show
Michael Wenig added a comment - MRELEASE-128 contains a patch which solves this issue

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: