When entering the url of a pom in: Add Maven 2.0+ Project, if the url has a 
port number, it does not work.
----------------------------------------------------------------------------------------------------------

         Key: CONTINUUM-489
         URL: http://jira.codehaus.org/browse/CONTINUUM-489
     Project: Continuum
        Type: Bug
  Components: Web interface  
    Versions: 1.0.1    
 Environment: Windows 2000 service pack4
    Reporter: Luis Novais


After entering a pom url in the topmost upload box with the format:

http://my-address:my-port/maven/plugins/msh-maven-plugin/0.1/msh-maven-plugin-0.1.pom

The result was:

The URL you provided doesn't exist;

and in the console the output was:
2005-11-29 15:38:22,229 [SocketListener0-0] DEBUG Validator:url-source          
 - An exception is occurred.
java.lang.StringIndexOutOfBoundsException: String
index out of range: -16
    at java.lang.String.substring(String.java:1444)
     at
org.codehaus.plexus.formica.util.MungedHttpsURL.scrapePassword(MungedHttpsURL.java:275)
     at
org.codehaus.plexus.formica.util.MungedHttpsURL.<init>(MungedHttpsURL.java:64)
     at
org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:59)


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

Reply via email to