[ https://issues.apache.org/jira/browse/SCM-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962378#comment-17962378 ]
ASF GitHub Bot commented on SCM-634: ------------------------------------ jira-importer commented on issue #850: URL: https://github.com/apache/maven-scm/issues/850#issuecomment-2964629298 **[Justin Bleach](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=juicybananas)** commented I was able to work around the issue by doing this (includes the view now as well): \<connection>scm|clearcase|my_view|file:///c://views//my_view//configSpec.txt\</connection> Robert as you mentioned ScmUrlParserResult which is a private class in AbstractSvnScmProvider should basically be copied for the Clear Case provider. This way when the Clear Case provider attempts to make a URL from "c:\views\..." it doesn't barf and instead adds the "file://" to the URL to make it valid, else perhaps this could be communicated in documentation as "a feature" (parameter must be valid URL). Let me know, if I have time this weekend I may look into trying to fix this and check it in (whatever all is involved in that, not contributed to open source project before). I can look at it when no view is specified as well. > Clearcase provider status keeps displaying "Can't load the scm provider. You > need to define a connectionUrl parameter" but connection node is defined. > ------------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: SCM-634 > URL: https://issues.apache.org/jira/browse/SCM-634 > Project: Maven SCM (Moved to GitHub Issues) > Issue Type: Bug > Components: maven-scm-provider-clearcase > Affects Versions: 1.5 > Environment: Windows > Reporter: Justin Bleach > Priority: Major > Attachments: SCM-634-test.patch > > > POM has been defined correctly: > <project> > ...... > <scm> > > <connection>scm|clearcase|c:\views\tempview\configSpec.txt</connection> > > <developerConnection>scm|clearcase|c:\views\tempview\configSpec.txt</developerConnection> > </scm> > ...... > </project> > Plugin configuration points to "connection". When doing a 'mvn scm:status' > keeps telling me "Can't load the scm provider. You need to define a > connectionUrl parameter". However I am pointing to a valid configSpec('mvn > scm:validate' = success) and connection is defined as shown above. > ConfigSpec (for completeness) is: > element * CHECKEDOUT > element -dir * /main/LATEST > element * /main/release_1.0/tempview/LATEST > element * /main/release_1.0/LATEST -mkbranch ac42144_r1.0_t0001 > element * /main/R1.0 -mkbranch release_1.0 > element * /main/{created_since(today)} -mkbranch release_1.0 > load c:\views\tempview\WCSF\CustomerService > Cannot do anything with plugin currently because message prevents code from > being checked out. -- This message was sent by Atlassian Jira (v8.20.10#820010)