We usually keep settings.xml in ~/.m2/settings.xml
But its kind of makes it global
What if we want to have our own local settings.xml instead of default and global one,
You can simply use:
mvn --settings YourOwnSettings.xml clean install
or
mvn -s YourOwnSettings.xml clean install
No comments:
Post a Comment