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: Web Components training (online)

Airport MUC workshops: Java EE 8, Java 9: Bootstrap, Effective, Architectures, Single Page Apps, Progressive Web Apps, HTML 5, ES 6, CSS 3 and Microservices

Podcast: airhacks.fm and newsletter: airhacks.news

A book about rethinking Java EE Patterns


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