- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="annogen",
aggregator=true,
defaultPhase=GENERATE_SOURCES,
requiresProject=true,
requiresDependencyCollection=COMPILE_PLUS_RUNTIME,
threadSafe=true)
@Execute(phase=PROCESS_CLASSES)
public class AnnotationGeneratorMojo
extends AbstractXapiMojo
This goal will lookup all annotation that are themselves
annotated with MirroredAnnotation, and then
generate runtime annotation proxy classes to enable
creating instances of annotations at runtime, either
manually through AnnoNameBuilder objects,
or by wrapping IsAnnotation instances into AnnoNameProxy objects.
- Version:
- $Id$
- Author:
- James X. Nelson