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:
parent
f198ebc0cf
commit
76c3184ced
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue