Removing unwanted dependecies in pom.xml