Joel Joel - 1 year ago 145
Java Question

Is there a maven command line option for offline mode?

You can specify in your maven settings file that you want to run in offline mode, but is there an equivalent command line option?

I would imagine something like e.g.

mvn install -Dmaven.offline.true

Answer Source

Specify offline mode via -o/--offline:

mvn -o install

Maven book reference

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download