0

如何从 Maven 运行 javax.annotation.processing.Processor 实现?我真的很想使用Java 6 Pluggable Annotation API,而不是 apt。

4

1 回答 1

0

它是 maven-compiler-plugin 的一个选项(annotationProcessors):http ://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html

于 2011-09-15T15:41:52.273 回答