Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2825

LightWeightHttpWagon cannot handle https when port is explicitly specified.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.0.4
    • None
    • None
    • None
    • Windows XP, jdk 1.5.0_10

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            branscha Bruno Ranschaert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: