[
https://issues.apache.org/jira/browse/SCM-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17960233#comment-17960233
]
ASF GitHub Bot commented on SCM-123:
------------------------------------
jira-importer commented on issue #355:
URL: https://github.com/apache/maven-scm/issues/355#issuecomment-2964589166
**[Dennis
Lundberg](https://issues.apache.org/jira/secure/[email protected])**
commented
Having read the Cederqvist
http://ximbiot.com/cvs/manual/cvs-1.11.21/cvs_2.html#SEC26
I think that maven-scm is wrong in assuming that
"The userhost part must be on the form: \<username>@\<hostname>"
It should be valid to use a userhost part without a username as shown in the
example. I'll see if I can put together a patch for this, together with
clarifications about this in the docs.
> scm plugin ignores -Dusername for CSV provider
> ----------------------------------------------
>
> Key: SCM-123
> URL: https://issues.apache.org/jira/browse/SCM-123
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-plugin
> Affects Versions: 1.0-beta-2
> Environment: xp, cvs
> Reporter: Dan Tran
> Assignee: Emmanuel Venisse
> Priority: Major
> Fix For: 1.0-beta-3
>
> Attachments: SCM-123-docs.patch
>
>
> mvn scm:validate -DconnectionUrl=scm:cvs:pserver:host:/cvs:module -X
> -Dusername=joe
> fails with
> [DEBUG] (f) basedir = C:\dev\maven\src\scm
> [DEBUG] (f) connectionUrl = scm:cvs:pserver:host:/cvs:module
> [DEBUG] (f) settings = org.apache.maven.settings.Settings@1df8b99
> [DEBUG] (f) username = joe
> [DEBUG] -- end configuration --
> [INFO] [scm:validate]
> [ERROR] Error scm url connection (connectionUrl) validation failed :
> [ERROR] The userhost part must be on the form: <username>@<hostname>.
> is it intended?
> Found this problem when looking at MNG-1783
--
This message was sent by Atlassian Jira
(v8.20.10#820010)