[
https://issues.apache.org/jira/browse/CXF-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Fang resolved CXF-4709.
-------------------------------
Resolution: Duplicate
Assignee: Freeman Fang
> 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
> Assignee: Freeman Fang
> 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