You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Giorgio Gallo (JIRA)" <ji...@codehaus.org> on 2010/02/19 17:56:55 UTC

[jira] Created: (MNG-4566) Annotation processor project not buildable with 1.6

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