Use workaround to exclude transitive dependencies in generated pom