[
http://jira.codehaus.org/browse/MASPECTJ-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David J. M. Karlsen closed MASPECTJ-2.
--------------------------------------
Assignee: David J. M. Karlsen
Resolution: Cannot Reproduce
Fix Version/s: 1.3
The case in the example doesn't match. System.out is a PrintStream.
If it's re-written as @Pointcut("call(* java.io.PrintStream.*(..)) ") it
matches.
> aspectj-maven plugin does not respect generated-sources directory of plugin
> when compiling
> ------------------------------------------------------------------------------------------
>
> Key: MASPECTJ-2
> URL: http://jira.codehaus.org/browse/MASPECTJ-2
> Project: Mojo AspectJ Plugin
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: maven 2.0.9,
> aspectj-maven-plugin 1.0
> Reporter: Andreas Wuest
> Assignee: David J. M. Karlsen
> Fix For: 1.3
>
> Attachments: testcase.zip
>
>
> Hello,
> i have a plugin that creates a java file that is required for compiling the
> project.
> the plugin is executed during the generate-sources. work perfectly with the
> standard maven-compiler-plugin.
> however if a add the aspectj-maven-plugin to the project to compile my
> aspects, a
> mvn clean package
> does not work anymore, because the
> "target/generated-sources\maven-version-plugin" directory is not properly
> added to the compile path.
> if i execute
> mvn package
> after the first failed command, everything is compiled properly again.
> it looks like the problem only occurs when cleaning the project before
> executing the "package" goal.
> attached you will find a project that shows the problem.
> cheers,
> andy
--
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