Jar Hell com.google.http-client:google-http-client two different version
維護者通常 4 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- java
- 領域
- build-system
研究方向
從 Maven 專案中的 firebase-admin 相依性開始,執行列出的 maven-enforcer-plugin validate 命令來檢查相依性樹。檢視衝突的 google-http-client、grpc-api、Guava 以及相關傳遞相依性的版本。相依性收斂檢查和重複版本檢查通過,且不存在回報的 jar 衝突,即表示完成。
由索引模型根據 Issue 內容生成。
描述
[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
- 主要語言
- Java
- 星號
- 620
- 分支
- 306
- 平均合併
- 4 天 7 小時
- 30 天內合併 PR
- 13
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
firebase/firebase-admin-java 的其他 Issue
-
google-http-client-jackson2 cannot be excluded even when a JsonFactory is configured via FirebaseOptions可能已有人在做 @lahirumaramba 於 6 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 48/100
firebase/firebase-admin-java#1231 · 已指派 1 人 ·
維護者通常 4 天內回覆
-
[BUG] RemoteConfig unit tests fail in non-English (e.g., Korean) Locales due to Date Parsing可能已有人在做 @rathovarun1032 於 205 天前認領。 未關閉api: remoteconfig
firebase/firebase-admin-java#1196 · 1 則留言 · 已指派 2 人 ·
維護者通常 4 天內回覆
-
Auth list tenants is not pageable可能已有人在做 @siddharthmohan619-eng 於 210 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 45/100
firebase/firebase-admin-java#1192 · 3 則留言 ·
維護者通常 4 天內回覆
-
needs-triage type: feature request
難度 3/5 1-2 天 新手友好度 45/100
firebase/firebase-admin-java#1149 · 1 則留言 ·
維護者通常 4 天內回覆
-
needs-triage type: feature request
難度 5/5 一週以上 新手友好度 45/100
firebase/firebase-admin-java#1142 · 2 則留言 ·
維護者通常 4 天內回覆
查看 firebase/firebase-admin-java 的全部 Issue
相似的 Issue
-
component/operate kind/feature-request
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆
-
Forge coverage prompts carry text the agent cannot act on可能已有人在做 @graalvmbot 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 85/100
oracle/graalvm-reachability-metadata#10572 ·
維護者通常 1 天內回覆
-
[CI] Core CI doesn't run for changes to amoro-format-lance (and amoro-web)可能已有人在做 @MarkAlex1234 今天認領。 未關閉
難度 1/5 1 小時以內 新手友好度 88/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
-
area/docs
難度 1/5 1 小時以內 新手友好度 88/100
維護者通常 1 天內回覆