Optimizing mvn calls and make targets
- a separate
mvn clean
call should not be necessary (I left it in place for the setup target, in case this really make sense) -
mvn verify
includes thecompile
andpackage
phases (see Maven build lifecycle below) -
generate-spec
target did point toinstall-yarn
andvalidate-spec
which also pointed toinstall-yarn
Maven build lifecycle: https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#a-build-lifecycle-is-made-up-of-phases