Jar Hell com.google.http-client:google-http-client two different version
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu với dependency firebase-admin trong dự án Maven và chạy lệnh maven-enforcer-plugin validate được liệt kê để kiểm tra cây dependency. Xem xét các phiên bản xung đột của google-http-client, grpc-api, Guava và các dependency bắc cầu liên quan. Được xem là hoàn tất khi các bước kiểm tra tính hội tụ của dependency và phiên bản trùng lặp đều đạt mà không còn các xung đột jar được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[READ] Step 1: Are you in the right place?
- For issues or feature requests related to the code in this repository
file a Github issue.- If this is a feature request make sure the issue title starts with "FR:".
- For general technical questions, post a question on StackOverflow
with the firebase tag. - For general Firebase discussion, use the firebase-talk
google group. - For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.
[REQUIRED] Step 2: Describe your environment
- Operating System version: Manjaro
- Firebase SDK version: 9.3.0
- Library version: ???
- Firebase Product: firebase-admin
[REQUIRED] Step 3: Describe the problem
Dependecy:
<dependency>
<groupId>com.google.firebase</groupId>
<artifactId>firebase-admin</artifactId>
<version>${firebase-admin.version}</version>
</dependency>
contains com.google.http-client:google-http-client in two different version, what can cause jar hell and method missing in production.
Same problem with:
- com.google.http-client:google-http-client-gson
- io.grpc:grpc-api (really large diffrency 1.27 and 1.60 and 1.62)
- com.google.j2objc:j2objc-annotations
- com.google.errorprone:error_prone_annotations
- com.google.guava:guava
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
mvn
--batch-mode
validate
org.apache.maven.plugins:maven-enforcer-plugin:3.4.1:enforce
-Denforcer.rules=banDuplicatePomDependencyVersions,dependencyConvergence
Relevant Code:
[ERROR] +-pl.com.aaaa:bbbbb:jar:24.2.0-SNAPSHOT
[ERROR] +-com.google.firebase:firebase-admin:jar:9.3.0:compile
[ERROR] +-com.google.api-client:google-api-client-gson:jar:2.4.0:compile
[ERROR] +-com.google.http-client:google-http-client:jar:1.44.1:compile
[ERROR] and
[ERROR] +-pl.com.aaaa:bbbbb:jar:24.2.0-SNAPSHOT
[ERROR] +-com.google.firebase:firebase-admin:jar:9.3.0:compile
[ERROR] +-com.google.http-client:google-http-client:jar:1.44.1:compile
[ERROR] and
[ERROR] +-pl.com.aaaa:bbbbb:jar:24.2.0-SNAPSHOT
[ERROR] +-com.google.firebase:firebase-admin:jar:9.3.0:compile
[ERROR] +-com.google.auth:google-auth-library-oauth2-http:jar:1.23.0:compile
[ERROR] +-com.google.http-client:google-http-client:jar:1.43.3:compile
[ERROR] and
[ERROR] +-pl.com.aaaa:bbbbb:jar:24.2.0-SNAPSHOT
[ERROR] +-com.google.firebase:firebase-admin:jar:9.3.0:compile
[ERROR] +-com.google.cloud:google-cloud-storage:jar:2.38.0:compile
[ERROR] +-com.google.http-client:google-http-client:jar:1.44.1:compile
[ERROR] and
[ERROR] +-pl.com.aaaa:bbbbb:jar:24.2.0-SNAPSHOT
[ERROR] +-com.google.firebase:firebase-admin:jar:9.3.0:compile
[ERROR] +-com.google.cloud:google-cloud-firestore:jar:3.21.1:compile
[ERROR] +-com.google.http-client:google-http-client:jar:1.44.1:compile
- Ngôn ngữ chính
- Java
- Star
- 620
- Fork
- 305
- Merge trung bình
- 4 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 4
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của firebase/firebase-admin-java
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
firebase/firebase-admin-java#1231 ·
-
api: core
firebase/firebase-admin-java#1198 · 3 bình luận · 1 người được giao ·
-
[BUG] RemoteConfig unit tests fail in non-English (e.g., Korean) Locales due to Date Parsing Đang mởapi: remoteconfig
firebase/firebase-admin-java#1196 · 1 bình luận · 2 người được giao ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
firebase/firebase-admin-java#1192 · 3 bình luận ·
-
needs-triage type: feature request
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
firebase/firebase-admin-java#1149 · 1 bình luận ·
Tất cả issue của firebase/firebase-admin-java
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
elastic/gradle-plugins#157 ·
-
enhancement Tools
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
apache/rocketmq-dashboard#5008 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
DETECT_PARAMETER_NAMES=false silently disables @ConstructorProperties-based Creator detection too Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
FasterXML/jackson-databind#6229 ·