[
https://issues.apache.org/jira/browse/SCM-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963392#comment-17963392
]
ASF GitHub Bot commented on SCM-851:
------------------------------------
jira-importer commented on issue #1081:
URL: https://github.com/apache/maven-scm/issues/1081#issuecomment-2964644634
**[Robert
Scholte](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rfscholte)**
commented
Looks like the `TfsScmProvider` is missing unittests to cover all the scm
urls, can you help with those verifications?
> "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)