checking that M2_HOME env. variable is set