Add @threadSafe for parallel build feature of Maven3
----------------------------------------------------
Key: MOJO-1709
URL: https://jira.codehaus.org/browse/MOJO-1709
Project: Mojo
Issue Type: Improvement
Components: xml
Affects Versions: xml-maven-plugin 1.0
Environment: Maven 3.0.3
Reporter: Falko Modler
Assignee: Jochen Wiedmann
Please add @threadSafe to the Mojo to get rid of the warning that Maven 3
issues when xml-maven-plugin is involved in a multi module parallel build.
See:
https://cwiki.apache.org/MAVEN/parallel-builds-in-maven-3.html
Warning:
[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.codehaus.mojo:xml-maven-plugin:1.0
[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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email