I am using Ubuntu 16.10 and Maven 3.3.9. I've found maven folders in different directories with settings.xml files:
- ~/.m2/ (I have cp a settings.xml file in this directory)
- /etc/maven
- /usr/share/maven/conf
...
What would be the correct place for the settings.xml file and how to find out what file Maven is using?
mvn -X
returns No goals have been specified for this build. [...]
mvn <goal> -X
does not even display anything about the settings.xml file