Adam Bien's Weblog

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 workshop: HTML 5 and JavaScript Essentials, Three days in April 2017: from Java EE 7 Architectures over Microservices to Performance, Troubleshooting and Monitoring
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.

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