Update the release.properties if pom.xml have been updated (SCM 
----------------------------------------------------------------

         Key: MNG-1475
         URL: http://jira.codehaus.org/browse/MNG-1475
     Project: Maven 2
        Type: Improvement
  Components: maven-release-plugin  
    Reporter: Eric Hartmann


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 = [EMAIL PROTECTED]
[DEBUG]   (f) resume = true
[DEBUG]   (f) settings = [EMAIL PROTECTED]
[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 http://jira.codehaus.org/browse/MNG-1105 
as I think it's not quite the same.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to