[
https://issues.apache.org/jira/browse/CXF-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535497#comment-13535497
]
Freeman Fang commented on CXF-4709:
-----------------------------------
Hi,
I believe CXF-4687 already fixed this issue.
Now we restore proxy settings after cxf-codegen-plugin running, so the proxy
configuration only take effect in cxf-codegen-plugin life and won't affect
other plugins.
Freeman
> cxf-codegen-plugin sets system properties for proxy which affect other plugins
> ------------------------------------------------------------------------------
>
> Key: CXF-4709
> URL: https://issues.apache.org/jira/browse/CXF-4709
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.6.4, 2.7.1
> Reporter: Joan Tosas
> Labels: codegen, maven, proxy
>
> Class org.apache.cxf.maven_plugin.AbstractCodegenMoho in execute() method
> calls method configureProxyServerSettings() always, which sets system
> properties that could affect other plugins execution.
> Setting fork mode to once or always does not help in minimizing the impact
> because this method is called before the fork.
> A way to diminish this interference could be to set those settings in the
> forked JVM, not for all JVMs when configured to fork. That way, if somebody
> gets the same issue I got, could always set the generation to forked and
> voilá!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira