This one adds Maven 3 to my base mteufel/rhel7-java8 Image.
Maven is also installed in /usr/java,
$M2_HOME and $M2 are set, also Part of $PATH
the settings.xml is at $M2_HOME/conf or /usr/java/maven-latest/conf (both are the same)
The Repository is located at /opt/apps/maven/repo
Docker Pull Command