Jar Hell com.google.http-client:google-http-client two different version
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Bug
- Klarheit
- Muss geklärt werden
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- java
- Bereich
- build-system
Rechercherichtung
Beginnen Sie mit der firebase-admin-Abhängigkeit im Maven-Projekt und führen Sie den aufgeführten maven-enforcer-plugin validate-Befehl aus, um den Abhängigkeitsbaum zu untersuchen. Überprüfen Sie die in Konflikt stehenden Versionen von google-http-client, grpc-api, Guava und verwandten transitiven Abhängigkeiten. Als erledigt gilt die Aufgabe, wenn die Prüfungen auf Abhängigkeitskonvergenz und doppelte Versionen ohne die gemeldeten jar-Konflikte erfolgreich sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
[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
- Vorherrschende Sprache
- Java
- Sterne
- 620
- Forks
- 305
- Ø Merge
- 4 T. 9 Std.
- Gemergte PRs (30 T.)
- 4
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus firebase/firebase-admin-java
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
firebase/firebase-admin-java#1231 ·
-
api: core
firebase/firebase-admin-java#1198 · 3 Kommentare · 1 zugewiesene Person ·
-
api: remoteconfig
firebase/firebase-admin-java#1196 · 1 Kommentar · 2 zugewiesene Personen ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
firebase/firebase-admin-java#1192 · 3 Kommentare ·
-
needs-triage type: feature request
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
firebase/firebase-admin-java#1149 · 1 Kommentar ·
Alle Issues in firebase/firebase-admin-java
Ähnliche Issues
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Offenarea/plugin
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
kestra-io/plugin-kestra#190 ·
-
litertlm-android AAR ships no consumer ProGuard rules → "mid == null" SIGABRT in minified apps Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
apache/rocketmq-dashboard#5064 ·
-
Consent portal: creating a duplicate Purpose shows a generic error instead of "already exists" Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
wso2/dpdp-accelerator#287 ·