aspectj-maven plugin does not respect generated-sources directory of plugin
when compiling
------------------------------------------------------------------------------------------
Key: MOJO-1207
URL: http://jira.codehaus.org/browse/MOJO-1207
Project: Mojo
Issue Type: Bug
Components: aspectj
Environment: maven 2.0.9,
aspectj-maven-plugin 1.0
Reporter: Andreas Wuest
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