[
https://jira.codehaus.org/browse/MJAXB-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275699#comment-275699
]
Falko Modler commented on MJAXB-41:
-----------------------------------
I don't know.
I implicitly expect(ed) that the one who marks it @threadSafe also ensures
whether it is thread safe at all.
> Add @threadSafe for parallel build feature of Maven3
> ----------------------------------------------------
>
> Key: MJAXB-41
> URL: https://jira.codehaus.org/browse/MJAXB-41
> Project: Maven 2.x JAXB 2.1 Plugin
> Issue Type: Improvement
> Affects Versions: 1.3
> Environment: Maven 3.0.3
> Reporter: Falko Modler
>
> Please add @threadSafe to the Mojo(s) to get rid of the warning that Maven 3
> issues when jaxb2-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:jaxb2-maven-plugin:1.3
> [WARNING] *****************************************************************
> Note:
> Based on my experience you have to build the plug-in with Maven 3 to have the
> threadSafe-Element generated in target\classes\META-INF\maven\plugin.xml. M2
> will not do it!
--
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