You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
Hi, while trying to execute assemblyPackageDependency I'm getting following error:
[error] 7 errors were encountered during merge
[error] stack trace is suppressed; run last client / assemblyPackageDependency for the full output
[error] stack trace is suppressed; run last examples / assemblyPackageDependency for the full output
[error] stack trace is suppressed; run last assemblyPackageDependency for the full output
[error] (client / assemblyPackageDependency) deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/compiler/plugin.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/compiler/plugin.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/descriptor.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/descriptor.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/duration.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/duration.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/field_mask.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/field_mask.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/struct.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/struct.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/timestamp.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/timestamp.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/type.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/type.proto
[error] (examples / assemblyPackageDependency) deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/compiler/plugin.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/compiler/plugin.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/descriptor.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/descriptor.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/duration.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/duration.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/field_mask.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/field_mask.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/struct.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/struct.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/timestamp.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/timestamp.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/type.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/type.proto
[error] (assemblyPackageDependency) deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/compiler/plugin.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/compiler/plugin.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/descriptor.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/descriptor.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/duration.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/duration.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/field_mask.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/field_mask.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/struct.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/struct.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/timestamp.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/timestamp.proto
[error] deduplicate: different file contents found in the following:
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.7.1/protobuf-java-3.7.1.jar:google/protobuf/type.proto
[error] /home/kghost/.cache/coursier/v1/https/repo1.maven.org/maven2/com/typesafe/akka/akka-protobuf-v3_2.13/2.6.8/akka-protobuf-v3_2.13-2.6.8.jar:google/protobuf/type.proto
[error] Total time: 53 s, completed Aug 4, 2020, 11:10:55 AM
[IJ]sbt:root>
It used to work fine prior to this version (7.2.0)
The text was updated successfully, but these errors were encountered:
Yes it is, but I think that it used to work before only by coincidence. It seems like the proto files in akka are not being shaded and conflict emerges whenever there is a mismatch between any of these files and proto files included by other version of google-protobuf library. In other words it used to work because the proto files were equal.
I'm trying to prove that theory, once succeed I will open an issue in akka.
As a workaround one can specify a mergeStrategy to drop those files as they are only useful during compile-time or update protobufVersion to 3.11.4 which is the same as the one in akka.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, while trying to execute
assemblyPackageDependency
I'm getting following error:It used to work fine prior to this version (7.2.0)
The text was updated successfully, but these errors were encountered: