Skip to content

[BEAM-2190] Cherry-pick #2934 into release-2.0.0#2957

Closed
dhalperi wants to merge 1 commit intoapache:release-2.0.0from
dhalperi:cp-2934
Closed

[BEAM-2190] Cherry-pick #2934 into release-2.0.0#2957
dhalperi wants to merge 1 commit intoapache:release-2.0.0from
dhalperi:cp-2934

Conversation

@dhalperi
Copy link
Contributor

@dhalperi dhalperi commented May 8, 2017

This cherry-picks #2934

R: @davorbonaci


Even if Beam appears to have the correct dependencies, we cannot
guarantee that modules that depend on us transitively get the right
dependencies. For example, even though grpc-protobuf-lite has
protobuf-lite excluded, and the Maven Enforcer banned-dependencies
check passes... if a user happens to get a transitive dependency on
grpc-all first, they may pull in grpc-protobuf from that other source
without the exclusion. Thus we need to exclude protobuf-lite from
grpc-all as well.

While we're here, also add guava-jdk5 to the set of banned dependencies,
though (as above) we cannot currently properly identify the places it
might be transitively exposed in a users' pom.xml.

Even if Beam appears to have the correct dependencies, we cannot
guarantee that modules that depend on us transitively get the right
dependencies. For example, even though grpc-protobuf-lite has
protobuf-lite excluded, and the Maven Enforcer banned-dependencies
check passes... if a user happens to get a transitive dependency on
grpc-all first, they may pull in grpc-protobuf from that other source
without the exclusion. Thus we need to exclude protobuf-lite from
grpc-all as well.

While we're here, also add guava-jdk5 to the set of banned dependencies,
though (as above) we cannot currently properly identify the places it
might be transitively exposed in a users' pom.xml.
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 0eb4bcf on dhalperi:cp-2934 into ** on apache:release-2.0.0**.

Copy link
Member

@davorbonaci davorbonaci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

asfgit pushed a commit that referenced this pull request May 8, 2017
@dhalperi dhalperi closed this May 8, 2017
@dhalperi dhalperi deleted the cp-2934 branch May 8, 2017 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants