You explicitly disabled annotation processing in the maven-compiler-plugin
's configuration:
<proc>none</proc>
Remove that line and it should run annotation processors.
Note that there's a regression with maven-compiler-plugin
3.x where the plugin dependencies no longer are taken into account when compiling (it probably never was thought as a feature) so your requestfactory-apt
would not be seen by JavaC with recent maven-compiler-plugin
versions and you'd still have the same problem then.
The only way to reliably use annotation processors with Maven is to declare them as project dependencies with either <scope>provided</scope>
or <optional>true</optional>
, or to use the maven-processor-plugin
. There's an open feature request for better support in Maven proper through the maven-compiler-plugin
: http://jira.codehaus.org/browse/MCOMPILER-203