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!


NEW online workshop: WebStandards Igniter (online)

Airport MUC workshops: Java EE 7: Bootstrap, Effective, Architectures, Web, React and Angular, Testing and Microservices

Podcast: airhacks.fm and newsletter: airhacks.news

A book about rethinking Java EE Patterns

Comments:

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