NOTE: How to add settings.xml in eclipse? settings.xml is not required (and thus not auto created in ~/.m2 folder) unless you want to change the default settings. And on opposite side, for standard eclipse/maven usage – all public maven repositories are available to us for free without any restriction.ĭefinitely we need two different settings.xml files for above usage. If you are new to maven and eclipse setup then follow these steps to setup maven correct way on you laptop/desktop.
jar files must be located in private repositories and you have custom settings.xml file with very specific repositories. What if your Work development environment or framework is based on Eclipse? In company environment, all of your required project’s.Let’s consider a scenario with two different Eclipse workspace with different custom maven settings. Are you running multiple Eclipse Environments on your developer workstation? Or on your laptop? I do.