Cleaning unnecessary dependencies in pom.xml