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
AnnotationProcessorclass extendingAbstractAnnotationProcessor, also annotated with Google'sAutoServiceannotations to simplify integration of the processor into other projects. - An example
AnnotationExtractorextendingAbstractAnnotationExtractorand a corresponding example Annotation Metadata class. - An example
GeneratedFileWriter(and link toVelocitySourceWriterexample or include one directly?). - An example test of the processor using Google's
compile-testinglibrary.