[
http://jira.codehaus.org/browse/MOJO-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kaare Nilsen closed MOJO-950.
-----------------------------
Assignee: Kaare Nilsen
Resolution: Fixed
I'll close this issue now. is fixed by the core maven team when allowing plugin
dependencies to be overriden in maven 2.0.9
> Running tests is unpredictable if aspectjrt version is not 1.5.2a
> -----------------------------------------------------------------
>
> Key: MOJO-950
> URL: http://jira.codehaus.org/browse/MOJO-950
> Project: Mojo
> Issue Type: Bug
> Components: aspectj
> Environment: Maven 2.0.6, Gentoo Linux
> Reporter: Simone Gianni
> Assignee: Kaare Nilsen
> Priority: Minor
>
> The aspectj plugin is not injecting a dependency to the right version of
> aspectjrt, instead this has to be provided in the POM.
> The plugin expects version 1.5.2a at the time of this writing.
> It simply complains with a warning if another version (1.5.0) is found.
> The real problem is that everything seems to work correctly also with the
> 1.5.0 version, except that running tests sometimes works, sometimes doesn't
> (test are launched, but seems like if they are launched on non weaved
> classes), in a completely random way.
> Repeating mvn clean install several times occasionally manages to execute the
> test correctly.
> Since it took me ages to figure this out, I'm writing it here so that other
> people can benefit, but it could also be a good idea to somehow state, during
> plugin execution, that 1.5.2a is the REQUIRED version to properly run tests,
> and eventually even skip or fail the aspectj:test-compile phase if the
> version is not the correct one.
--
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