I have a pure-Java project (A) and a GWT project (B) set up as a multi-module GWT project as described here.
When I run mvn install
for the first time, A compiles, then B performs a full GWT compile. However if I change anything in A, then B does not compile as I would expect; I get
[INFO] <module> is up to date. GWT compilation skipped.
If I enable <force>true</force
then it does compile and I can see my changes.
How can I make my project automatically compile when a dependent module has changed, and skip compilation if nothing has changed?