0

How can I run javax.annotation.processing.Processor implementation(s) from Maven ? I really want to use Java 6 Pluggable Annotation API, not apt.

Rostislav Matl
  • 4,294
  • 4
  • 29
  • 53
  • I've just found there exists also some maven-processor-plugin. Should it be prefferred to maven-compiler-plugin for some reason(s) ? – Rostislav Matl Sep 15 '11 at 15:51

1 Answers1

0

It is an option (annotationProcessors) of the maven-compiler-plugin: http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html

Laurent Legrand
  • 1,104
  • 6
  • 6