[ http://jira.codehaus.org/browse/MOJO-290?page=all ]
Kaare Nilsen closed MOJO-290:
-----------------------------
Resolution: Won't Fix
After switching phase, the ajc compiling now occurs before javac, and every
.java file not compiled with ajc is passed to the standard javac compiler,
which i actually find to be a good idea.
> AspectJ mojos run in compile and test-compile phase, conflicting with
> standard java compiler
> --------------------------------------------------------------------------------------------
>
> Key: MOJO-290
> URL: http://jira.codehaus.org/browse/MOJO-290
> Project: Mojo
> Type: Bug
> Components: aspectj
> Reporter: Carlos Sanchez
> Assignee: Carlos Sanchez
> Priority: Blocker
>
>
> AspectJ mojos run in compile and test-compile phase, which mean that standard
> java compiler may run before it, thus failing in some cases (I believe is
> when a test class extends a main class already weaved).
> Don't know if compiler can be removed from aspectj mojo or aspectj should be
> moved to plexus compiler, if not it has to run in the process-sources and
> process-test-sources phase.
--
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