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á!
- duplicates
-
CXF-4687 cxf-codegen-plugin breaks mvn deploy when proxy exists
-
- Closed
-