mvn dependency:go-offline -fae # without compilation
mvn install -fae
-fae - fail at end
mvn dependency:go-offline -fae # without compilation
mvn install -fae
-fae - fail at end
e.g.
mvn dependency:get -DgroupId=org.springframework -DartifactId=spring-web -Dversion=6.1.6 -Dclassifier=sources -Dpackaging=jar