Insufficient information when SCM URL is wrong
----------------------------------------------

         Key: MNG-1780
         URL: http://jira.codehaus.org/browse/MNG-1780
     Project: Maven 2
        Type: Bug

  Components: maven-release-plugin  
    Versions: 2.0    
    Reporter: Jochen Wiedmann


If the method CvsScmProvider.parseScmUrl returns an error message, then an 
ScmRepositoryException is thrown with additional messages. These messages 
aren't made available to the user, although the really should be.

Two possible solutions:

- Override ScmRepositoryException.getMessage()
- Use the additional information when catching the exception.

To see the issue, try "mvn release:prepare" with an invalid URL like 
"scm:cvs:foobar".


-- 
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