Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: scm
-
Labels:None
-
Number of attachments :
Description
I experienced the same troubles as described in http://www.nabble.com/-M2-What-is-wrong-with-my-scm-url--t480810.html#a1308659 .
The build error print :
Embedded error: Can't load the scm provider. No such provider: 'rver'.
And with mvn -X give me :
[DEBUG] Artifact resolved [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-release-plugin:2.0-beta-4-SNAPSHOT:prepare' --> [DEBUG] (f) basedir = /projects/jing-trang [DEBUG] (f) generateReleasePoms = false [DEBUG] (f) interactive = true [DEBUG] (f) localRepository = [local] -> file:///home/ehartmann/.m2/repository [DEBUG] (f) reactorProjects = [org.apache.maven.project.MavenProject@a441ef04] [DEBUG] (f) resume = true [DEBUG] (f) settings = org.apache.maven.settings.Settings@17f1841 [DEBUG] (f) tagBase = ../tags [DEBUG] (f) urlScm = cvs:pserver:cvs.sharedvalue.com:/opt/cvs/:jing-trang [DEBUG] -- end configuration --
Unfortunately I was not aware of the url is taken in release.properties (since the urlScm is right in the debug log) and look for this issue for a couple of hours before finding the explanation in the mailing list.
It may be usefull to recreate release.properties if pom.xml have been updated since it's creation and/or log the information taken in release.properties to give a hint to developers (who have not carefully read http://maven.apache.org/scm as myself
) that made an error in the scm url.
I create a new bug report instead of MNG-1105 as I think it's not quite the same.
I don't think release.properties should be caching this info at all if it is always to be read from the pom