Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8241

cxf-codegen-plugin not using the proxy port configured in settings.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.3.5
    • 3.3.6, 3.2.13, 3.4.0
    • Services
    • None
    • Moderate
    • Patch, Important

    Description

      I use the maven to generate java code from WSDL (cxf-codegen-plugin).

      I don't use the fork option.

      My maven settings.xml is correctly configured with a proxy server (host and port).

      During the run, the log shows:

      [INFO] Using proxy server configured in maven.

      Nevertheless, the proxy host is used correctly  but the port is not. I have debugged the execution and observed that the used port is 80 while in my settings.xml file, I have configured 8012.

      The bug is in the method org.apache.cxf.maven_plugin.AbstractCodegenMoho#configureProxyServerSettings

      => System.setProperty(HTTP_PROXY_PORT, authPassword);

      it should be System.setProperty(HTTP_PROXY_PASSWORD, authPassword);

       

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            cmitran Cristian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3h
                3h
                Remaining:
                Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified