Fixed bugs in pom.xml