release:prepare fails on checkin while using Clearcase
------------------------------------------------------

         Key: SCM-152
         URL: http://jira.codehaus.org/browse/SCM-152
     Project: Maven SCM
        Type: Bug

  Components: maven-scm-provider-clearcase  
    Versions: 1.0-beta-3    
 Environment: Clearcase UCM / Windows XP / Snapshot view
    Reporter: David Dandeneau
    Priority: Blocker


I have been trying this for some time and I still haven't gotten it to work. It 
seems that what is happening when I do a release:prepare is that it checks out 
all the files and then tags them and checks them back in, then it tries to 
check them in again and the process fails because they were already checked in. 

I am using clearcase UCM. The view that is used here is a snapshot view. 

Here is the output:

D:\snapshots\dandendj_statemanager_int\retools_comps\sm\sm2>mvn release:prepare
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
[INFO] -------------------------------------------------------------------------
---
[INFO] Building StateManager
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO] -------------------------------------------------------------------------
---
Downloading: http://mirrors.sunsite.dk/maven2/websphere/runtime/5.1.1.2/runtime-
5.1.1.2.pom
[WARNING] Unable to get resource from repository central (http://repo1.maven.org
/maven2)
Downloading: http://mirrors.sunsite.dk/maven2/oracle/jdbc/1.4/jdbc-1.4.pom
[WARNING] Unable to get resource from repository central (http://repo1.maven.org
/maven2)
[WARNING] While downloading springframework:spring-web:1.2.6
  This artifact has been relocated to org.springframework:spring-web:1.2.6.


Downloading: http://mirrors.sunsite.dk/maven2/websphere/j2ee/5.1.1.2/j2ee-5.1.1.
2.pom
[WARNING] Unable to get resource from repository central (http://repo1.maven.org
/maven2)
Downloading: http://mirrors.sunsite.dk/maven2/websphere/servletevent/5.1.1.2/ser
vletevent-5.1.1.2.pom
[WARNING] Unable to get resource from repository central (http://repo1.maven.org
/maven2)
[INFO] [release:prepare]
[INFO] Verifying there are no local modifications ...
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
[INFO] Checking dependencies and plugins for snapshots ...
[INFO] What is the release version for "reedelsevier:sm2"? [0.16]
0.17
[INFO] Transforming reedelsevier:sm2 to release
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
[INFO] What tag name should be used? [sm2-0.17]
sm2-0.17
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
[INFO] Checking out file: D:\snapshots\dandendj_statemanager_int\retools_comps\s
m\sm2\pom.xml
[INFO] Checking in modified POMs
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
[INFO] Tagging release with the label sm2-0.17.
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
[INFO] What is the new development version for "reedelsevier:sm2"? [0.18-SNAPSHO
T]
0.18-SNAPSHOT
[INFO] Transforming sm2 to snapshot
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
[INFO] Checking out file: D:\snapshots\dandendj_statemanager_int\retools_comps\s
m\sm2\pom.xml
[INFO] Checking in development POMs
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
spec = \\lngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager
_int.vws\config_spec
Provider message:
The cleartool command failed.
Command output:
cleartool: Error: No branch of element is checked out to view "lnxdayccvwp01:\\l
ngdaynasd003\ccase01\scidir\views\LEGAL\dandendj\dandendj_statemanager_int.vws".

cleartool: Error: Unable to find checked out version for "D:\snapshots\dandendj_
statemanager_int\retools_comps\sm\sm2\pom.xml".

[INFO] -------------------------------------------------------------------------
---
[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] An error is occurred in the checkin process.

Embedded error: Error!
[INFO] -------------------------------------------------------------------------
---
[INFO] For more information, run Maven with the -e switch
[INFO] -------------------------------------------------------------------------
---
[INFO] Total time: 59 seconds
[INFO] Finished at: Fri Feb 03 14:34:01 EST 2006
[INFO] Final Memory: 4M/9M
[INFO] -------------------------------------------------------------------------
---


-- 
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

Reply via email to