updated the Pom.XML and added Validator Constraint