Settings File

Sensitive information, such as authentication data, should be moved to a Maven settings file, located in a secure path.

Then it can be loaded by Maven with any command:

mvn deploy --settings ~/settings.xml

Last updated