Add pom-file linting and fix pom-errors