adam bien's blog

Temporarily pointing maven to another settings.xml 📎

The following switch explicitly sets a settings.xml file. The file specified after the --settings= flag is going to be used instead of the default ~/.m2/settings.xml configuration:


mvn --settings=[PATH_TO_SETTINGS] clean install

Enjoy mavening!