Annotation processor project not buildable with
<compilerVersion>1.6<compilerVersion>
-------------------------------------------------------------------------------------
Key: MNG-4566
URL: http://jira.codehaus.org/browse/MNG-4566
Project: Maven 2 & 3
Issue Type: Improvement
Components: General
Affects Versions: 2.2.1
Reporter: Giorgio Gallo
Priority: Minor
Attachments: annotation-processor-project.tgz
Resources are processed before compiling and therefor included in the
compilation classpath.
This makes projects as the attached one un-buildable in maven (well - of course
one could work around the issue), since
target/classes/META-INF/services/javax.annotation.processing.Processor
is read by javac (6+) and used to load annotation processors.
Resources for the current project should IMHO either be processed _after_
compilation or staged in a different directory (say target/resources/) and by
all means not included in the compilation classpath.
--
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