LightWeightHttpWagon cannot handle https when port is explicitly specified.
---------------------------------------------------------------------------

                 Key: MNG-2825
                 URL: http://jira.codehaus.org/browse/MNG-2825
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 2.0.4
         Environment: Windows XP, jdk 1.5.0_10
            Reporter: Bruno Ranschaert


When a repository is specified with https and a port number like this:

<repository>
            <id>Central-2</id>
            <url>https://<my server name>:1234/maven2</url>            
</repository>

The build process raises an error

Caused by: java.io.IOException: HTTPS hostname wrong:  should be <my server 
name>
        at 
sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:490)
        at 
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415)
        ......

The port number (1234) is not accepted.

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