fixing problems in pom.xml, now ready for maven3