Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4290

karaf-maven-plugin uses inactive proxies from settings.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 4.0.4
    • None
    • karaf
    • None

    Description

      My maven settings.xml has a <proxy> server defined, but it's inactive:

      <proxy>
      <id>charles-proxy</id>
      <active>false</active>
      <protocol>http</protocol>
      <host>localhost</host>
      <port>8888</port>
      <nonProxyHosts>www.google.com|*.example.com</nonProxyHosts>
      </proxy>

      Nevertheless, when runs, I get IOExceptions related to attempting to contact the proxy server (which isn't running):

      Connect to localhost:8888 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect

      Attachments

        1. karaf-4290-stack-trace.txt
          8 kB
          Michael Prescott

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            fuseboy Michael Prescott
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: