You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/05/03 17:49:41 UTC

[jira] Closed: (MRELEASE-27) Insufficient information when SCM URL is wrong

     [ http://jira.codehaus.org/browse/MRELEASE-27?page=all ]
     
Brett Porter closed MRELEASE-27:
--------------------------------

     Assign To: Brett Porter
    Resolution: Fixed

now displaying validation messages

> Insufficient information when SCM URL is wrong
> ----------------------------------------------
>
>          Key: MRELEASE-27
>          URL: http://jira.codehaus.org/browse/MRELEASE-27
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>     Reporter: Jochen Wiedmann
>     Assignee: Brett Porter
>      Fix For: 2.0-beta-4

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