You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.
I don't think this is quite the issue - it should indeed issue each dependency once. The above example works if I create a BUILD file with just that in it.
I think what might be happening is you have something else in the BUILD file called guava, either explicitly or as output by another maven_jars rule. If the latter you are probably best to combine them ala
Alternatively we could look at using more specific package names (e.g. using a version of the complete coordinates rather than just the artifact ID) although in general that may still fail if two of them found the same version of the same package.
I think what might be happening is you have something else in the BUILD file called guava, either explicitly or as output by another maven_jars rule.
Ah, indeed, we also have the guava package from grpc-all. Combining them into a single maven_jars will probably work, but if I have one rule that only depends on the grpc jars and one that only depends on the owlapi jars, won't both dependants get all jars and have their resulting .jar size needlessly increased?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems
maven_jars
can't deal with packages occurring multiple times in the dependency tree.Steps to reproduce
BUILD
file with:plz build :owl-api
Expected results
Build succeeds without a problem
Actual results
The text was updated successfully, but these errors were encountered: