[ 
http://jira.codehaus.org/browse/MASPECTJ-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253263#action_253263
 ] 

Robert Scholte commented on MASPECTJ-92:
----------------------------------------

Problem is caused by MASPECTJ-13 : [rev. 
10439|http://fisheye.codehaus.org/changelog/mojo/?cs=10439].
By binding it to the next phase the {{maven-compiler-plugin:2.3.2:testCompile}} 
is executed *_before_* {{aspectj-maven-plugin:1.4-SNAPSHOT:test-compile}} which 
causes the problem.
But when reverting it, something else happens:
{{aspectj-maven-plugin:1.4-SNAPSHOT:test-compile}} is executed *_before_* 
{{maven-resources-plugin:2.4.3:testResources}} and that's not the order as 
expected.
So this will require some more investigation. 



> no weaving in phase "test-compile" after upgrade from 1.2 to 1.3
> ----------------------------------------------------------------
>
>                 Key: MASPECTJ-92
>                 URL: http://jira.codehaus.org/browse/MASPECTJ-92
>             Project: Mojo AspectJ Plugin
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: MacOS 10.6.5
>            Reporter: Oliver Boehm
>            Priority: Critical
>         Attachments: demo.zip
>
>
> After upgrading from 1.2 to 1.3 our Maven builds failed. It seems that 'mvn 
> test-compile' fails because the aspects are not weaved to the test classes.
> I stripped down the problem to a simple demo project which is attached 
> (demo.zip). If you switch the aspectj-maven-plugin to version 1.2 you will 
> see that 'mvn test-compile' will work. With 1.3 you will get a compiler error.

-- 
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


Reply via email to