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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.6.4, 2.7.1
    • None
    • Tooling
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: