Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Incomplete
-
Affects Version/s: 2.0-beta-4
-
Fix Version/s: None
-
Component/s: documentation, scm
-
Labels:
-
Number of attachments :
Description
When I run something like "mvn release:prepare -DdryRun=true -Dusername=mb011000", the resulting contents of release.properties suggest that the username is being completely ignored when forming the scm.url:
scm.username=mb011000
scm.url=scm\:cvs\:pserver\:anonymous\:@prdwebdev17\:/projects\:system-core
Note that the "anonymous" has stuck around for some reason. This may be related to MRELEASE-83 and/or MRELEASE-107, but I don't think it's a duplicate.
Activity
Jason van Zyl
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 2.0 [ 12571 ] |
Emmanuel Venisse
made changes -
| Component/s | scm [ 12698 ] |
Stephen Connolly
made changes -
| Labels | scrub-review-started |
Robert Scholte
made changes -
| Component/s | documentation [ 13629 ] |
Robert Scholte
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Robert Scholte [ rfscholte ] | |
| Resolution | Incomplete [ 4 ] |
Okay, so on closer inspection, the -username and -password command line flags appear to override any un/pw that might or might not appear in the SCM URL. Assuming this is the case, morph this into a documentation bug and clarify at http://maven.apache.org/plugins/maven-release-plugin/howto.html ?