Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.2, 3.1
-
None
-
Java 6+
Description
Right now the status quo for annotation processor artifacts requires one of two actions:
- Use an external plugin for annotation processing
- Put the annotation processor in as a dependency with provided scope
The former is suboptimal because the external plugins are clunky and ill-supported, and inflexible/hard to use. The latter is suboptimal because it is often the case that you do not want to leak annotation processor classes on to the application class path.
It should be possible to add annotation processor dependency artifacts to the compiler plugin configuration such that they are recognized by the annotation processing search algorithm of the compiler, but they do not actually appear on the compilation class path. Ideally they would also be isolated from one another (dependency graphs and all), but that's more of a "nice to have".
Attachments
Issue Links
- duplicates
-
MCOMPILER-134 add support for jdk 6 javac -processorpath parameter
- Closed
- is depended upon by
-
MCOMPILER-204 Add a switch to disable unwanted annotation processors
- Closed
- is duplicated by
-
MCOMPILER-207 Support separate GAV list for annotation processors
- Closed
- is related to
-
MCOMPILER-264 Isolate annotation processors from one another
- Open
- links to