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