[ 
https://jira.codehaus.org/browse/MNG-4566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Benedict updated MNG-4566:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 3.x)

> Annotation processor project not buildable with 
> <compilerVersion>1.6<compilerVersion>
> -------------------------------------------------------------------------------------
>
>                 Key: MNG-4566
>                 URL: https://jira.codehaus.org/browse/MNG-4566
>             Project: Maven
>          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 was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to