Reputation: 4616
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?
Upvotes: 10
Views: 6655
Reputation: 1675
Have you read this ? There are some useful options, like gwt.compiler.skip, and some others
Upvotes: 0
Reputation: 3280
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>
[...]
Upvotes: 16