Add @threadSafe to all maven-plugins for parallel build feature of Maven3
-------------------------------------------------------------------------
Key: CXF-3676
URL: https://issues.apache.org/jira/browse/CXF-3676
Project: CXF
Issue Type: Improvement
Components: Tooling
Affects Versions: 2.4.1, 2.2.12
Environment: Maven 3.0.3
Reporter: Falko Modler
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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira