On 04/27/2012 01:34 PM, Ansgar Konermann wrote:
JFrog (the Artifactory guys) has already published a set of Java
1.5 annotations for mojo development, including a m-plugin-p extension to
use them.
Beware that (acc. to their documentation) the tool relies on APT, which is
deprecated in JDK 6 and scheduled to be dropped from JDK 8.
New code should use JSR 269. A processor can perform semantic validation, and can also actually generate plugin.xml; if registered in META-INF/services no special mojo or
compiler plugin configuration is needed to activate this. Generating synthetic classes is also quite easy - no need to deal with bytecode, just Java source.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]