GWT Maven plugin recompiled every time

I am using GWT Maven Plugin for my GWT project. The problem is that if any class was changed, even if it was a server class, then GWT Maven Plugin will recompile all GWT code when running mvn package .

How does this plugin determine that recompilation is required? How can I make it smarter?

+8
maven gwt
source share
2 answers

There are two solutions:

1st) Add gwt.compiler.skip = true to your Maven command line

 mvn -Dgwt.compiler.skip=true package 

2nd) Comment on the purpose of compiling the gwt-maven-plugin plugin in the pom.xml file

 [...] <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> [...] <executions> <execution> <configuration> [...] </configuration> <goals> <!-- <goal>compile</goal> --> </goals> </execution> </executions> </plugin> [...] 
+15
source share

Have you read this ? There are some useful options, such as gwt.compiler.skip and some others.

0
source share