I want to split a mvn install
command into 2 separate ones - dependency resolution and build itself, like it can be done in NPM (with npm run ci
and npm run webpack
separately). The reason to do so is to measure how much time is spend on dependency resolution and how much on build itself.
I have tried to use mvn dependency:go-offline
with mvn install -o
afterwards. According to docs this is exactly what I need, however it does not work. Plugin dependencies are not downloaded (mentioned in pom file under build/plugins
).
Can this goal be achieved somehow?