Maven Archetype for Annotation Processor
Created by: dbluhm
We should include a maven archetype for a new Annotation Processor module that utilizes our annotation processing tools.
The produced maven project should include:
- A named
AnnotationProcessor
class extendingAbstractAnnotationProcessor
, also annotated with Google'sAutoService
annotations to simplify integration of the processor into other projects. - An example
AnnotationExtractor
extendingAbstractAnnotationExtractor
and a corresponding example Annotation Metadata class. - An example
GeneratedFileWriter
(and link toVelocitySourceWriter
example or include one directly?). - An example test of the processor using Google's
compile-testing
library.