Maven 2 & 3

improve validation of POM elements