Maven 2 & 3

(3.0-RC1) Maven Java API does not give nice error messages when improperly configured