If “Use private Maven repository” is set for maven build, then it should also be
set for any configured M2 Extra Build Steps.
Currently, the flags passed to the main mvn task to use the private repository
Executing Maven: -B -f /opt/hudson/.hudson/jobs/MYJOB/workspace/pom.xml
are not passed to the maven that is invoked from any of these extra build steps.
[workspace] $ /opt/apache-maven-2.0.9/bin/mvn clean