Is there a maven command line option for offline mode?

前端 未结 5 995
天命终不由人
天命终不由人 2020-12-23 19:02

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

5条回答
  •  不知归路
    2020-12-23 19:03

    Just a simple:

    mvn --offline
    

    In the future, I recommend referring to mvn --help.

提交回复
热议问题