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

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

jira-importer opened a new issue, #1081:
URL: https://github.com/apache/maven-scm/issues/1081

   
**[Jason](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=bigj)** 
opened 
**[SCM-851](https://issues.apache.org/jira/browse/SCM-851?redirect=false)** and 
commented
   
   If you have a scm definition like: 
`scm:tfs:https//server_name:workspace:$/TeamProject/Path/To/Project`
   Then you will receive the following error: `TFS Url "https" is not a valid 
URL. The TFS Url syntax is 
[[domain\]username[;password]@]http[s]://server_name[:port][:isCheckinPoliciesEnabled]:workspace:$/TeamProject/Path/To/Project`
   
   This is because the code treats "`isCheckinPoliciesEnabled`" as mandatory, 
rather than optional as stated in the error message.
   
   Workaround: Add "`:false`" to the URL declaration, just before the workspace.
   
   
   ---
   
   **Affects:** 1.9.5
   




> "isCheckinPoliciesEnabled" is treated as mandatory in TFS URL
> -------------------------------------------------------------
>
>                 Key: SCM-851
>                 URL: https://issues.apache.org/jira/browse/SCM-851
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-tfs
>    Affects Versions: 1.9.5
>         Environment: All
>            Reporter: Jason
>            Priority: Major
>
> If you have a scm definition like: 
> {{scm:tfs:https//server_name:workspace:$/TeamProject/Path/To/Project}}
> Then you will receive the following error: {{TFS Url "https" is not a valid 
> URL. The TFS Url syntax is 
> [[domain\]username[;password]@]http[s]://server_name[:port][:isCheckinPoliciesEnabled]:workspace:$/TeamProject/Path/To/Project}}
> This is because the code treats "{{isCheckinPoliciesEnabled}}" as mandatory, 
> rather than optional as stated in the error message.
> Workaround: Add "{{:false}}" to the URL declaration, just before the 
> workspace.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to