[ https://issues.apache.org/jira/browse/SCM-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965020#comment-17965020 ]
Olivier Lamy commented on SCM-851: ---------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-scm#1081|https://github.com/apache/maven-scm/issues/1081]. > "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)