Maven - install project dependencies without building

I have a POM file and I would like to install all the plugins / jars that are needed to create a project without creating a project, so when I run the "maven package" I don't need an internet connection. <br / "> Is there a way to do this?

+3


source to share


1 answer


You can use target: mvn dependency:go-offline

It will download all dependencies and plugins as well.



See http://maven.apache.org/plugins/maven-dependency-plugin/go-offline-mojo.html

+1


source







All Articles