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

Add @threadSafe to all maven-plugins for parallel build feature of Maven3

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.12, 2.4.1
    • 2.4.2
    • Tooling
    • None
    • Maven 3.0.3

    Description

      Please add @threadSafe to the Mojos to get rid of the warning that Maven 3 issues when one of them is involved in a multi module parallel build.

      See:
      https://cwiki.apache.org/MAVEN/parallel-builds-in-maven-3.html

      Warning example:

      [WARNING] *****************************************************************
      [WARNING] * Your build is requesting parallel execution, but project *
      [WARNING] * contains the following plugin(s) that are not marked as *
      [WARNING] * @threadSafe to support parallel building. *
      [WARNING] * While this /may/ work fine, please look for plugin updates *
      [WARNING] * and/or request plugins be made thread-safe. *
      [WARNING] * If reporting an issue, report it against the plugin in *
      [WARNING] * question, not against maven-core *
      [WARNING] *****************************************************************
      [WARNING] The following plugins are not marked @threadSafe in de.example:
      [WARNING] org.apache.cxf:cxf-codegen-plugin:2.4.1
      [WARNING] *****************************************************************

      Note:
      You will have to use at least version 2.6 of the maven-plugin-plugin to have @threadSafe recognized for the generation of plugin.xml, see http://jira.codehaus.org/browse/MPLUGIN-169

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            famod Falko Modler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: