Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4709

cxf-codegen-plugin sets system properties for proxy which affect other plugins

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.6.4, 2.7.1
    • Fix Version/s: None
    • Component/s: Tooling
    • Labels:
    • Estimated Complexity:
      Novice

      Description

      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á!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ffang Freeman Yue Fang
                Reporter:
                event.horizon Joan Tosas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: