[
https://issues.apache.org/jira/browse/SCM-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962466#comment-17962466
]
ASF GitHub Bot commented on SCM-661:
------------------------------------
jira-importer commented on issue #871:
URL: https://github.com/apache/maven-scm/issues/871#issuecomment-2964630487
**[Michael
Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)**
commented
This issue has been auto closed because it has been inactive for a long
period of time. If you think this issue still persists, retest your problem
with the most recent version of Maven and the affected component, reopen and
post your results.
> Initial checkout in clearcase ucm needs activity
> -------------------------------------------------
>
> Key: SCM-661
> URL: https://issues.apache.org/jira/browse/SCM-661
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-scm-provider-clearcase
> Affects Versions: 1.6
> Environment: Java 1.6
> Maven 2.2.1
> Clearcase UCM
> Jenkins 1.4
> maven-release-plugin 2.2.2
> Reporter: Max Schaefer
> Priority: Major
>
> My Jenkins job is configured to create a clearcase UCM view whenever started
> i.e. it is not updating a view created in previous runs.
> The build tries then to release my maven project (maven-release-plugin)
> First operation is to modify pom.xml. In clearcase you need to perform a
> "checkout" in order to modify a file. However, that fails because in UCM a
> view needs to have an "activity" set.
> A workaround is to create an activity before with the corresponding cleartool
> command. However, I think this should be performed by the scm plugin when
> asked to perform the checkout.
> My clearcase-settings.xml specifies <clearcaseType>UCM</clearcaseType>
> {noformat}
> [INFO] [release:prepare {execution: default-cli}]
> [INFO] viewName = 'AXIAZ-bnjwa029-maven' ; configSpec = 'load \Orbis_Reports'
> ; vobName = '\Orbis_Project_Vob' ; streamName = 'MavenDeploymentEvaluation' ;
> elementName = 'null'
> [INFO] Verifying that there are no local modifications...
> [INFO] ignoring changes on: pom.xml.next, release.properties,
> pom.xml.releaseBackup, pom.xml.backup, pom.xml.branch, pom.xml.tag
> [INFO] viewName = 'AXIAZ-bnjwa029-maven' ; configSpec = 'load \Orbis_Reports'
> ; vobName = '\Orbis_Project_Vob' ; streamName = 'MavenDeploymentEvaluation' ;
> elementName = 'null'
> [INFO] Checking dependencies and plugins for snapshots ...
> [INFO] viewName = 'AXIAZ-bnjwa029-maven' ; configSpec = 'load \Orbis_Reports'
> ; vobName = '\Orbis_Project_Vob' ; streamName = 'MavenDeploymentEvaluation' ;
> elementName = 'null'
> [INFO] Transforming 'test-reports'...
> [INFO] viewName = 'AXIAZ-bnjwa029-maven' ; configSpec = 'load \Orbis_Reports'
> ; vobName = '\Orbis_Project_Vob' ; streamName = 'MavenDeploymentEvaluation' ;
> elementName = 'null'
> [INFO] edit file:
> D:\Views\hudson_slave\workspace\TestMax\hudson_view_MavenDeploymentEvaluation\Orbis_Reports\pom.xml
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to enable editing on the POM
> Provider message:
> The cleartool command failed.
> Command output:
> cleartool: Error: To operate on UCM branch, must be set to an activity and a
> UCM view.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)