[ 
https://issues.apache.org/jira/browse/SCM-851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason updated SCM-851:
----------------------
    Description: 
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.

  was:
If you have a scm definition like: 
{{scm:tfs:https//server_name[:port]:isCheckinPoliciesEnabled]: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 delcaration, just before the workspace.


> "isCheckinPoliciesEnabled" is treated as mandatory in TFS URL
> -------------------------------------------------------------
>
>                 Key: SCM-851
>                 URL: https://issues.apache.org/jira/browse/SCM-851
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-tfs
>    Affects Versions: 1.9.5
>         Environment: All
>            Reporter: Jason
>
> 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
(v6.4.14#64029)

Reply via email to