If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!

Thursday, May 7, 2015

Switching between maven settings.xml

Often you have to copy the maven settings.xml file which is configured for a specific customer. But while developing in my spare time I just want to use my own settings.xml file. The easiest way to switch to using a different file is shown below:

mvn -gs $M2_HOME/conf/settings_pelssers.xml clean install