You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Yue Fang (Jira)" <ji...@apache.org> on 2020/03/14 01:34:00 UTC

[jira] [Assigned] (CXF-8241) cxf-codegen-plugin not using the proxy port configured in settings.xml

     [ https://issues.apache.org/jira/browse/CXF-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Yue Fang reassigned CXF-8241:
-------------------------------------

    Assignee: Freeman Yue Fang

> cxf-codegen-plugin not using the proxy port configured in settings.xml
> ----------------------------------------------------------------------
>
>                 Key: CXF-8241
>                 URL: https://issues.apache.org/jira/browse/CXF-8241
>             Project: CXF
>          Issue Type: Bug
>          Components: Services
>    Affects Versions: 3.3.5
>            Reporter: Mitran
>            Assignee: Freeman Yue Fang
>            Priority: Blocker
>             Fix For: 3.3.6
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> I use the maven to generate java code from WSDL ([cxf-codegen-plugin|https://cxf.apache.org/docs/maven-cxf-codegen-plugin-wsdl-to-java.html]).
> 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);
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)