[
https://jira.codehaus.org/browse/MCOMPILER-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275226#comment-275226
]
Jérôme Verstrynge commented on MCOMPILER-157:
---------------------------------------------
I have performed some tests and here are my results:
i) I have checked-out maven-compiler-plugin from the 2.3.3 release locally
ii) I have applied the patch provided by Zoran
iii) I confirm that the issue he reported is solved with this patch (and it
does not break existing tests)
iv) However, when generating a java file instead of an aspectj file, the java
file is not taken into account in the compiling process (it is not part of the
generated .jar)
I am posting another test case to illustrate my point. Keep in mind that I am
new to annotation processing, so I may miss something obvious.
> Maven Compiler Plugin should add to compileSourceRoots for next plugins to
> consider as source directory for generated files
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: MCOMPILER-157
> URL: https://jira.codehaus.org/browse/MCOMPILER-157
> Project: Maven 2.x Compiler Plugin
> Issue Type: Bug
> Affects Versions: 2.3.2
> Environment: Java 6
> Reporter: Zoran Regvart
> Attachments: maven-compiler-plugin-add-compileSourceRoots.patch,
> test-case.zip
>
>
> Maven Compiler Plugin by relying on javac by default, on Java 6 platform
> includes annotation processors in it's processing, these in end could
> generate sources that are placed by default in
> target/generated-sources/annotations. The later should be added to
> compileSourceRoots so that next plugin in execution would consider those
> sources.
> Please, see the attached test case and consider the attached patch in the
> next release of maven-compiler-plugin.
> thanks,
> Zoran
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira