Follow the advice of @Wulfspider and @Wolf480pl on the pom.xml