Hello,

We have a problem that some computers are not connected to the internet, so Maven cannot download dependencies from there. Because of this, by default, maven is running in offline mode.

Currently, Maven is set up by an installation script, which installs maven and does some changes to its settings.xml etc. During setup, an internet connection does exist. The idea is to change this script, so that once everything is set up, it would run several maven commands, like "mvn clean", "mvn deploy" etc. to force Maven to download all necessary files into the local .m2 directory.

Is there some cleaner way to do this? I know exactly which dependencies are needed (it's a large list), so is there some maven command to not build anything, just download these dependencies into the local .m2 directory?

Thanks, Csaba


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to