mvn command, among others, have following options:
-f,--file <arg>Force the use of an alternate POM file. (This is for pointing file instead of defaultpom.xmlfile.)-gs,--global-settings <arg>Alternate path for the global settings file. (This one is for pointing thesettings.xmlfile, which is by default in.m2directory.)
Still there is yet one config file uncovered by these options - .mavenrc
So, my question is - Is there a way to tell maven from which file it should get MAVEN_OPTS?