Configure maven offline development

Configure maven offline development

If you are working on maven project and want to configure maven shouldn’t attempt to connect network when executing the build. Please see steps below:

  • Go to your maven local repository
  • Open setting.xml file
  • Search for tag <offline>
  • By default tag is set false means every time you perform build maven will connect to network to synchronize files with local repository. To change this behavior change this setting to <offline>true</offline>

Configure maven offline development

Leave a Reply

Your email address will not be published. Required fields are marked *

I am not Robot *