make m2 directory if not exists.