Clean up pom.xml.
Fail build if dependency analysis warnings occur.