I use GWT Maven Plugin for my GWT project. The problem is that if any class was changed even if it was a server class GWT Maven Plugin recompiles all the GWT code upon running mvn package
.
How does this plugin determines that recompilation is needed? How could I make it more smart?
There are two solutions :
1st) Add gwt.compiler.skip=true to your Maven command line
mvn -Dgwt.compiler.skip=true package
2nd) Comment the compile goal of gwt-maven-plugin plugin in your 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>
[...]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With