disable M2_HOME for maven 3
add stat flag