[ 
https://issues.apache.org/jira/browse/SCM-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962376#comment-17962376
 ] 

ASF GitHub Bot commented on SCM-634:
------------------------------------

jira-importer commented on issue #850:
URL: https://github.com/apache/maven-scm/issues/850#issuecomment-2964629292

   **[Justin 
Bleach](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=juicybananas)**
 commented
   
   Looking at the source:
   
   Is not the ClearCaseScmProviderRepository.java instantiated with with full 
URL? (scm|clearcase|c:\views\tempview\configSpec.txt). If that happens you 
don't have to worry about putting in the last pipe as the first pipe after 
"scm" should do.
   
   When I debug to the "fillDefaultProperties" private method in the class I 
mentioned above it appears I have 3 tokens. In this method it assumes if only 
one token is available there is no view defined (which I don't have defined). I 
don't have a view defined but I have 3 tokens.
   
   I looked at the SCM API as well. Am I missing where the SCM and clearcase 
part is stripped off before ClearCaseScmProviderRepository is instantiated? It 
would make sense they aren't part of the URL since they are basically telling 
the API which provider to use but I can't find where that happens.
   
   




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

Reply via email to