title: Check maven version in pom.xml
body: <p>A project I am working on only builds with maven-2.2: for earlier versions, the dependencies aren't resolved correctly.</p>
  
  <p>Is there a way abort the build with an informative error message depending on the maven version?</p>