2008/12/6 Mark Derricutt <[EMAIL PROTECTED]>:
> Is it possible to easily add annotation processors into the
> maven-compiler-plugin?
>
> Looking at the docs I see I can add a <compilerArgument> element and pass in
> the -processorpath argument, but how do I generate the path to a dependency?
>
> Ideally, i just want to add a <dependency> block into the plugin with a
> scope of "processor" and have it magically be applied, although I guess I'll
> just have to look at using some form of macro expansion inside my
> <compilerArgument>?
>
> Any one have any ideas?

Have a look at the apt-maven-plugin:
http://mojo.codehaus.org/apt-maven-plugin/

With regard to using the maven-compiler-plugin for apt, see:
http://jira.codehaus.org/browse/MCOMPILER-75

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to