THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
6. Switch installation and user, so installation becomes global and can be overridden by user.
installation | user | project | command line | |
---|---|---|---|---|
JVM | MAVEN_OPTS | .mvn/jvm.config | ||
Maven arguments | .mvn/maven.config | -$ / --$$ | ||
Settings | $maven.home/conf/settings.xml (--global-settings) | $user.home/.m2/settings.xml (--settings) | ||
Toolchains | $maven.home/conf/toolchains.xml (--global-toolchains) | $user.home/.m2/toolchains.xml (--toolchains) |
7. Drop flags for replacing existing settings, and use --settings as the one overriding the merge result of installation + user (these will be switched!)
installation | user | project | command line | |
---|---|---|---|---|
JVM | MAVEN_OPTS | .mvn/jvm.config | ||
Maven arguments | .mvn/maven.config | -$ / --$$ | ||
Settings | $maven.home/conf/settings.xml | $user.home/.m2/settings.xml | --settings | |
Toolchains | $maven.home/conf/toolchains.xml | $user.home/.m2/toolchains.xml | --toolchains |