Remove optional dependencies from pom