zentol commented on pull request #15599:
URL: https://github.com/apache/flink/pull/15599#issuecomment-1011990314
Please try enabling dependency convergence and resolve the reported issues.
```
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>dependency-convergence</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<skip>false</skip>
</configuration>
</execution>
</executions>
</plugin>
```
From the dependency tree we can see 3 different grpc versions; 1.13.0,
1.41.1 and 1.42.1. My theory is that Maven resolves the various grpc
dependencies to different versions, which then causes problems with some grpc
dependencies as they have a [very strict version range for
grpc-core](https://mvnrepository.com/artifact/io.grpc/grpc-grpclb/1.42.0).
I assume that if all grpc dependencies were pinned to a single version this
issue will disappear. This can be done by adding the `grpc-bom` to the
`dependencyManagement` section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]