Maven provides documentation that helped me here: https://maven.apache.org/settings.html
The settings element in the settings.xml file contains elements used to define values which configure Maven execution in various ways, like the pom.xml, but should not be bundled to any specific project, or distributed to an audience. These include values such as the local repository location, alternate remote repository servers, and authentication information.
There are two locations where a settings.xml file may live:- The Maven install: ${maven.home}/conf/settings.xml
- A user's install: ${user.home}/.m2/settings.xmlThe former settings.xml is also called global settings, the latter settings.xml is referred to as user settings. If both files exist, their contents get merged, with the user-specific settings.xml being dominant.