Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.2.1
-
Fix Version/s: Issues to be reviewed for 3.x
-
Component/s: General
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
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.