Hello Adam, as stated on the goal page[0] dependency:go-offline "Requires dependency resolution of artifacts in scope: test". In multi-module projects it might even fail because of unresolvable SNAPSHOT modules of the current reactor.
I use this shell script (I call it mvn-go-offline): --- snip --- #!/bin/sh # DESC: Try to download everything needed for building/testing the project. MVN=${MVN:-mvn} VERSION=3.0.2 PLUGIN=org.apache.maven.plugins:maven-dependency-plugin:${VERSION} exec ${MVN} -e -V $* $PLUGIN:resolve-plugins $PLUGIN:go-offline $PLUGIN:sources --- snap --- and call e.g. `mvn-go-offline test-compile`. Regards Mirko [0] https://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org