Comments (4)
I believe this is the same issue as #909 but with a different artifact.
from rules_jvm_external.
The key to troubleshoot this is to enable verbose mode in jvm_rules_external, obtain coursier args, replay coursier command with 'resolve' action and --tree param.
Example : /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/java -noverify -jar /private/var/tmp/_bazel_oliviern/dd52b20a76c39eca281d5f4cd222340b/external/maven/coursier resolve "com.google.firebase:firebase-analytics:21.5.0,type=aar" --verbose --no-default --checksum SHA-1,MD5 --repository https://maven.google.com --repository https://repo1.maven.org/maven2 --cache v1 --tree
Conclusion : starting with version > 20.4.0, com.google.firebase:firebase-common-ktx is wrongly published and specify a jar dependency that doesn't exist (firebase-component).
Fix : file github issue to Google to fix their POM in future versions + consider implementing the same behavior as Gradle (which resolves the jar/aar conflict differently - maybe by implementing fallback when jar can't be found?)
Temp : pin version 20.4.0 (i.e explicitly add coord to WORKSPACE so that it takes precedences on 20.4.1 or 20.4.2).
from rules_jvm_external.
This doesn't look like a rules_jvm_external
issue, so I shall close this. Please let me know if you'd like me to reopen it.
from rules_jvm_external.
We might want to have same behavior as Gradle : when POM incorrectly specifies a JAR instead of AAR, it will fallback to using the AAR. Thoughts?
from rules_jvm_external.
Related Issues (20)
- Can not build small library after upgrade rules to 6.1 HOT 3
- In BzlMod, overrides are not repo-specific HOT 5
- Exported target pom does not include exclusions
- In bzlmod, composing modules is difficult HOT 3
- Support token-based auth in maven_export/MavenPublisher
- rules_jvm_external v6.1 creates duplicate jvm_import targets for binary and source JARs HOT 5
- Support in memory PGP signing HOT 1
- bzlmod: when root module overrides a namespace but doesn't change artifacts, do not emit a warning HOT 1
- Expose `PackageInfo` from imported packages
- Bzlmod: maven.artifact repositories argument is ignored HOT 1
- Bzlmod: maven.install repositories has silent last-wins semantics
- Error repinning with maven resolver HOT 2
- a Maven artifact with a transitive dependency on an artifact with packaging=pom does not fully work out of the box HOT 2
- 6.2: transitive dependency without sources generates invalid `http_file` HOT 1
- maven_export macro uses incorrect value of testonly when package default_testonly is True
- [Bazel CI] Bazel fails with `name 'android_ndk_repository' is not defined` HOT 2
- Single Maven Dependency Resolution (Exclude All Deps) HOT 1
- bzlmod: Not found error when using version from BOM HOT 2
- Feature Request - Allow file input for `manifest_entries` on `java_export`
- buildozer message incorrect with --incompatible_use_plus_in_repo_names
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_jvm_external.