Install .mavenrc when installing maven to guarantee M2_HOME