[
http://jira.codehaus.org/browse/MOJO-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145814#action_145814
]
David J. M. Karlsen commented on MOJO-388:
------------------------------------------
This should be possible by adding
<argLine>-javaagent:path/to/aspectj-weaver.jar</argLine>
to your surefire configuration,
along with a aop.xml in src/test/resources
> Add aspectj:test goal to the plugin. The goal would execute unit tests using
> the load-time weaving classloader
> ---------------------------------------------------------------------------------------------------------------
>
> Key: MOJO-388
> URL: http://jira.codehaus.org/browse/MOJO-388
> Project: Mojo
> Issue Type: New Feature
> Components: aspectj
> Reporter: Emanuel Bulic
>
> I was unable to use the surefire plugin to run my tests that require
> load-time weaving of aspects. I had to write my own ant-based maven plugin
> to execute <junit> using the AlwaysWeavingURLClassLoader.
--
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