验证 Hazelcast 项目时出现依赖收敛错误
Dependency convergence error while validating Hazelcast project
收到“mvn clean validate”的错误。这个问题和https://github.com/googleapis/java-storage/issues/133一样吗?有人可以帮忙解决这个问题吗?
我没变pom.xml.
Dependency convergence error for com.google.errorprone:error_prone_annotations:2.3.4 paths to dependency are:
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-io.grpc:grpc-netty-shaded:1.34.0
+-io.grpc:grpc-core:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-io.grpc:grpc-protobuf:1.34.0
+-io.grpc:grpc-protobuf-lite:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-io.grpc:grpc-protobuf:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-com.google.guava:guava:30.1.1-jre
+-com.google.errorprone:error_prone_annotations:2.5.1
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-io.grpc:grpc-stub:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-io.grpc:grpc-api:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-files-gcs:5.0-20210531.093025-176
+-com.google.cloud.bigdataoss:gcs-connector:hadoop3-2.1.5
+-com.google.cloud.bigdataoss:gcsio:2.1.5
+-io.grpc:grpc-auth:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-files-gcs:5.0-20210531.093025-176
+-com.google.cloud.bigdataoss:gcs-connector:hadoop3-2.1.5
+-com.google.cloud.bigdataoss:gcsio:2.1.5
+-io.grpc:grpc-alts:1.34.0
+-io.grpc:grpc-grpclb:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-files-gcs:5.0-20210531.093025-176
+-com.google.cloud.bigdataoss:gcs-connector:hadoop3-2.1.5
+-com.google.cloud.bigdataoss:gcsio:2.1.5
+-io.grpc:grpc-alts:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-files-gcs:5.0-20210531.093025-176
+-com.google.cloud.bigdataoss:gcs-connector:hadoop3-2.1.5
+-com.google.cloud.bigdataoss:gcsio:2.1.5
+-com.google.protobuf:protobuf-java-util:3.13.0
+-com.google.errorprone:error_prone_annotations:2.3.4
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability. See above detailed error message.
[错误] 无法执行目标 org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (enforce-tools) 项目 hazelcast-distribution: 一些 Enforcer 规则失败。在上面查看解释规则失败原因的特定消息。 -> [帮助 1]
您需要在 POM 中禁用 dependencyConvergence 检查,或者您需要向 POM 的 <dependencyManagement>
部分添加一个条目,其中包含您要使用的 error_prone_annotations
版本.
收到“mvn clean validate”的错误。这个问题和https://github.com/googleapis/java-storage/issues/133一样吗?有人可以帮忙解决这个问题吗? 我没变pom.xml.
Dependency convergence error for com.google.errorprone:error_prone_annotations:2.3.4 paths to dependency are:
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-io.grpc:grpc-netty-shaded:1.34.0
+-io.grpc:grpc-core:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-io.grpc:grpc-protobuf:1.34.0
+-io.grpc:grpc-protobuf-lite:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-io.grpc:grpc-protobuf:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-com.google.guava:guava:30.1.1-jre
+-com.google.errorprone:error_prone_annotations:2.5.1
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-io.grpc:grpc-stub:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-grpc:5.0-20210531.092806-178
+-io.grpc:grpc-api:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-files-gcs:5.0-20210531.093025-176
+-com.google.cloud.bigdataoss:gcs-connector:hadoop3-2.1.5
+-com.google.cloud.bigdataoss:gcsio:2.1.5
+-io.grpc:grpc-auth:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-files-gcs:5.0-20210531.093025-176
+-com.google.cloud.bigdataoss:gcs-connector:hadoop3-2.1.5
+-com.google.cloud.bigdataoss:gcsio:2.1.5
+-io.grpc:grpc-alts:1.34.0
+-io.grpc:grpc-grpclb:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-files-gcs:5.0-20210531.093025-176
+-com.google.cloud.bigdataoss:gcs-connector:hadoop3-2.1.5
+-com.google.cloud.bigdataoss:gcsio:2.1.5
+-io.grpc:grpc-alts:1.34.0
+-com.google.errorprone:error_prone_annotations:2.3.4
and
+-com.hazelcast:hazelcast-distribution:5.0-SNAPSHOT
+-com.hazelcast.jet:hazelcast-jet-files-gcs:5.0-20210531.093025-176
+-com.google.cloud.bigdataoss:gcs-connector:hadoop3-2.1.5
+-com.google.cloud.bigdataoss:gcsio:2.1.5
+-com.google.protobuf:protobuf-java-util:3.13.0
+-com.google.errorprone:error_prone_annotations:2.3.4
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability. See above detailed error message.
[错误] 无法执行目标 org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (enforce-tools) 项目 hazelcast-distribution: 一些 Enforcer 规则失败。在上面查看解释规则失败原因的特定消息。 -> [帮助 1]
您需要在 POM 中禁用 dependencyConvergence 检查,或者您需要向 POM 的 <dependencyManagement>
部分添加一个条目,其中包含您要使用的 error_prone_annotations
版本.