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!

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License