refactoring pom.xml for maven needs