Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-beta-2
-
Fix Version/s: 1.0-beta-3
-
Component/s: maven-plugin
-
Labels:None
-
Environment:xp, cvs
-
Complexity:Intermediate
-
Number of attachments :
Description
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
Attachments
Issue Links
| This issue is duplicated by: | ||||
| MRELEASE-65 | problem with scm url without username |
|
|
|
| This issue is related to: | ||||
| MRELEASE-72 | maven-release-plugin doesn't pass username to maven-scm-provider-cvs |
|
|
|
| This issue is depended upon by: | ||||
| CONTINUUM-534 | Release Continunum 1.0.3 |
|
|
|
The docs for the cvs provider seems to indicate that the @ character is needed.
"If you use an anonymous access, you need to add a colon (
between login and "@" like it's done in the first example."
Which is the last line of this file
http://svn.apache.org/viewcvs.cgi/maven/scm/trunk/maven-scm-site/src/site/apt/cvs.apt?rev=355486&view=markup