Unable to tag multiple projects in ClearCase in same VOB
--------------------------------------------------------
Key: MRELEASE-506
URL: http://jira.codehaus.org/browse/MRELEASE-506
Project: Maven 2.x Release Plugin
Issue Type: Bug
Components: prepare
Affects Versions: 2.0-beta-8
Reporter: Clint Shank
release:prepare attempts to create a new tag (label). However, what if
multiple projects are contained in the same ClearCase VOB, are built are
different times and you wish to use the same label? On the second project, the
following error will occur:
[INFO] Unable to tag SCM
Provider message:
The cleartool command failed.
Command output:
cleartool: Error: Name "somelabel" already exists.
cleartool: Error: Unable to create label type "somelabel".
Perhaps the more appropriate error should be trying to apply a label to a file
that already has already the label (moving the label could be configurable).
To reproduce, it's simply a matter of creating a label:
cleartool mklbtype -nc somelabel
and then running release:prepare:
mvn --batch-mode release:prepare -Dtag=somelabel
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira