Changes the pom.xml and removes useless dependency