HADOOP-18487. change scope so that protobuf explicitly exported again

...lets see if that helps things to build, though it does look like a
mvn repo change.

key point: dependencies are the same as before, but protobuf can be excluded
by downstream projects and all RPC code will still work.

Change-Id: I681b75d3dfe5cd5d0e6852ee5d73a63e28a3b8d0
This commit is contained in:
Steve Loughran 2022-10-26 13:01:38 +01:00
parent f198ebc0cf
commit 76c3184ced
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0
1 changed files with 2 additions and 1 deletions

View File

@ -88,9 +88,10 @@
<!-- This is used in hadoop-common for compilation only -->
<protobuf.version>2.5.0</protobuf.version>
<!-- Protobuf scope in hadoop common -->
<!-- set to "provided" and protobuf2 will no longer be exported as a dependency -->
<common.protobuf2.scope>compile</common.protobuf2.scope>
<!-- Protobuf scope in other modules which explicitly import the libarary -->
<protobuf2.scope>provided</protobuf2.scope>
<transient.protobuf2.scope>${common.protobuf2.scope}</transient.protobuf2.scope>
<!-- ProtocolBuffer version, actually used in Hadoop -->
<hadoop.protobuf.version>3.7.1</hadoop.protobuf.version>
<protoc.path>${env.HADOOP_PROTOC_PATH}</protoc.path>