Comments (3)
Yes, we should definitely restrict the visibility of unspecified artifacts. I'll mark this as a good first issue for anyone to take up if they want to give it a shot.
from rules_jvm_external.
This seems like a good idea in principle, but there are unfortunately some dependencies that seem to be specifically set up to bring in dependencies for you to directly reference. The Spring Boot starters would be a good example. It seems like a bad practice to me, but they get used pretty heavily. :( So, even if this gets done, I think there should be an option to turn it off.
from rules_jvm_external.
So, even if this gets done, I think there should be an option to turn it off.
I agree. It's also possible for the rule, or use bazel query
, to provide the flat list of artifacts that are actually used, so it's simple to switch to this behavior.
from rules_jvm_external.
Related Issues (20)
- Maven lockfile generated with bzlmod enabled is missing deps in WORKSPACE mode HOT 1
- [Bazel CI] Build failed with errors: no native function or rule 'aar_import' HOT 1
- [Bazel CI] Error name 'aar_import' is not defined with Bazel@HEAD HOT 1
- Maven Resolver Fails with 'The entity "oslash" was referenced, but not declared' Error HOT 3
- Maven resolver creates redundant resolver folders, consuming excessive disk space HOT 2
- Maven Resolver Ignores BOM Ordering HOT 1
- Snapshot artifacts are not resolved by the Maven resolver
- Add a bzlmod extension to override default repositories HOT 2
- Occasional NPE thrown with the Maven resolver HOT 5
- Maven resolver seems to be slower than the Coursier resolver HOT 2
- java_export generated pom.xml does not include <classifier> property
- FR: Ability to customize the location of RJE_UNSAFE_CACHE
- FR: Info about the BOM providing the version in the pinned lock file
- FR: Warnings about deviations from the BOM HOT 2
- FR: A way to exclude deps from artifacts that are determining the versions from BOMs HOT 5
- Maven resolver creates diffs in the lock files even when nothing was changed HOT 3
- Stop including extra artifacts on maven.install() HOT 2
- bzlmod doesnot support "Exporting and consuming artifacts from external repositories"
- coursier uses two different concepts of $HOME, then crashes by failing to relativize paths HOT 1
- Can not build small library after upgrade rules to 6.1 HOT 2
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.