[
https://jira.codehaus.org/browse/MCOMPILER-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=363752#comment-363752
]
Vincent Massol commented on MCOMPILER-122:
------------------------------------------
{quote}
Also, including target/classes to sourcepath could lead to classes being
compiled or recompiled [...]
{quote}
Not sure why we would include those... What's needed is
${project.basedir}/src/main/resources
> -sourcepath shall include resources
> -----------------------------------
>
> Key: MCOMPILER-122
> URL: https://jira.codehaus.org/browse/MCOMPILER-122
> Project: Maven Compiler Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Milos Kleint
>
> annotation processors which load non-Java resources from the sourcepath, will
> currently get only the src/main/java folder.
> Unfortunately just adding src/main/resources to -sourcepath does not suffice,
> due to a bug in javac:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6929404
> see MCOMPILER-98 for more
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)