Vertispan / j2clmavenplugin

Maven plugin to launch new J2CL compilation
https://vertispan.github.io/j2clmavenplugin/
Apache License 2.0
53 stars 26 forks source link

j2cl:watch should require that the compile phase runs before it #182

Open niloc132 opened 2 years ago

niloc132 commented 2 years ago

When running mvn j2cl:watch from the command line, if there were other bound goals in the pom, they might not run if j2cl:watch doesn't ensure that all generated sources are always available. Side effect from this could include missing generated sources, or source directories not added to the maven project model.

To fix this, j2cl:watch should insist that the compile phase completes before it starts.