Why can't I find my settings.xml under ~/.m2?
问题 Why can't I find my settings.xml under ~/.m2 ? Note: I'm currently running Apache Maven 3.3.9 on my machine. 回答1: There are two locations where a settings.xml file may live: The Maven install: ${maven.home}/conf/settings.xml The user’s install: ${user.home}/.m2/settings.xml The former settings.xml are also called global settings, the latter settings.xml are referred to as user settings. If both files exists, their contents gets merged, with the user-specific settings.xml being dominant. Tip: