modify pom.xml and remove unused resources