[
http://jira.codehaus.org/browse/MASPECTJ-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244427#action_244427
]
Kristian Rosenvold commented on MASPECTJ-91:
--------------------------------------------
Based on general thread safety reading of aspectj code about 1 year ago my
assessment is that this code is not very threadsafe. Someone should get in
contact with aspectj developers to assess if this evaluation is still correct.
If this is so, the plugin should probably just have a private static final
Object lock added to the plugin and a synchronized on this lock added to the
execute method. It can then be annotated as @threadSafe
> Mark aspectj plugin as @threadSafe if possible
> ----------------------------------------------
>
> Key: MASPECTJ-91
> URL: http://jira.codehaus.org/browse/MASPECTJ-91
> Project: Mojo AspectJ Plugin
> Issue Type: Improvement
> Affects Versions: 1.3
> Reporter: Simon Damouni
>
> Using this plugin with Maven 3 (Apache Maven 3.0 (r1004208; 2010-10-04
> 13:50:56+0200)
> throws following warning when executed in parallel:
> [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 ear assembly:
> [WARNING] org.codehaus.mojo:aspectj-maven-plugin:1.3
> [WARNING] *****************************************************************
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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