bom: Remove protoc-gen-grpc-java

protoc-gen-grpc-java isn't useful in a BOM because the Gradle plugin
doesn't support BOMs (google/protobuf-gradle-plugin#412) and it seems
unlikely the Maven plugin would as well.

Right now the type is pom, which is useless; nobody cares about the pom
itself. We'd need to use a type of exe and repeat it for each platform
(classifier). Given that it is a strange case and we can't actually test
the results and having it in the bom might lead a user to trying to make
it work, let's just remove it for now until it provides value.

Fixes #8936
This commit is contained in:
Eric Anderson 2022-03-25 09:22:12 -07:00
parent 31ce764723
commit 4a84c6fa96
1 changed files with 0 additions and 6 deletions

View File

@ -30,12 +30,6 @@ publishing {
dependencyNode.appendNode('artifactId', subproject.name)
dependencyNode.appendNode('version', subproject.version)
}
// add protoc gen (produced by grpc-compiler with different artifact name)
def dependencyNode = dependencies.appendNode('dependency')
dependencyNode.appendNode('groupId', project.group)
dependencyNode.appendNode('artifactId', 'protoc-gen-grpc-java')
dependencyNode.appendNode('version', project.version)
dependencyNode.appendNode('type', 'pom')
}
}
}