maven command line how to point to a specific settings.xml for a single command? October 16, 2022 by Tarik You can simply use: mvn --settings YourOwnSettings.xml clean install or mvn -s YourOwnSettings.xml clean install