Since GWT works strictly on Java source code, and Annotation Processors / JSR 269 generate also Java source code, would there be a way, in Maven, to have javac process the files, using the Annotation Processors, and save the generated Java source code somewhere, such that GWT can then use it itself, saving the work of reproducing the Annotation Processors implementation in a GWT generator?
According to this question, assuming the answer is still relevant, it would be best to use the maven-processor-plugin to process annotations. The documentations says that you can specify an "outputDirectory". And this question says you should use the copy-resources goal of the maven-resources-plugin to make the source available to GWT.
Assuming all of this is right, my question is: how do you tell Maven, that it should compile the code with javac, and run the other (maven-processor-plugin / maven-resources-plugin) plugins before running the "GWT Maven Plugin"? (Or would that always, for some reason, happen in that order anyway?)