I just run into the same problem with gwt-maven-plugin. Got a bunch of warnings like
[INFO] [WARN] Error writing out generated unit at '...target/.generated/...' (File name too long)
but the output at the end says BUILD SUCCESS.
Do these warnings/write errors affect the compilation?
gwt:compile says
Location on filesystem where GWT will write generated content for review (-gen option to GWTCompiler)
It looks like the warnings can be ignored (I hope).