Accessing local repository in offline mode
问题 I need to make Maven access local repository (file://) when it is ran in offline mode (basically, I am trying to setup repository hierarchy so it does not put artifacts where I don't need them). This does not work out-of-the-box, though I always assumed this scenario is supported. Is there some flag to enable particular repository in offline mode? 回答1: For the dev environment only, if you use IntelliJ IDEA, you can configure Maven to work offline as follow: Preferences... > Search for Maven >