Changed pom.xml to fix error and warnings (see description in xml file, line 231)