Tidying up POM to remove unused dependencies.