That's a long time I didn't play with annotations processors and there is
something I don't understand.
Maybe I get it wrong with annotations processors and/or with Maven
What I want to accomplish is very similar to this post on stackoverflow:
https://cloudbees.atlassian.net/wiki/spaces/CE/blog/1294434773/Info%2BA%2Bnew%2Bhome%2Bfor%2BFastThread To summarise we have an annotation processor that we want to run the
module sources to generate automatically some tests.
The problem is in the maven configuration. The proposed solution should
work from my POV:
<!-- Generates test classes into
compiling them -->
<!-- generated class depends on test-scope libs, so
don't compile now: proc:only DISABLES compilation of generated classes-->
<!-- adds source-dir during
so that the path to our generated class is now known to
compiler during test-compile:testCompile -->