Oh wait, now that I am sane again, I realize that I totally mixed up the meaning of "invoking a lifecycle phase" for a second.
Don't ask me why ,but I thought invoking "process-classes" meant: "process-classes" -> "generate-test-sources" -> "process-test-sources" -> etc.. My apologies :)
Nevertheless, the issue persists and now that I am home, I boiled it down to an example project showcasing it.
I would be happy if you could unzip the project and run "mvn gwt:run-codeserver" and "mvn generate-sources gwt:run-codeserver" in succesion.
I would be even more happy if you could tell me what I am doing wrong :)
This was tested on a Windows 7 64bit machine with maven 3.0.4 embedded in m2e and on a custom gentoo 64bit box with maven 3.0.3 .
Steps to reproduce:
Expected output:
...
Actual output:
...
[INFO] --- gwt-maven-plugin:2.5.0:run-codeserver (default-cli) @ example ---
[WARNING] GWT plugin is configured to detect modules, but none were found.
[ERROR] java.lang.IllegalArgumentException: Usage: at least one module must be supplied
[ERROR] at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:73)
[ERROR] at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:51)
...
Thank you for your time :)
Oliver