bazeltools / bazel-deps

Generate bazel dependencies for maven artifacts
MIT License
249 stars 121 forks source link

circular exports graph #297

Open ribrdb opened 3 years ago

ribrdb commented 3 years ago

I'm getting this error message:

[main] ERROR MakeDeps - circular exports graph: com.google.flogger:flogger, com.google.flogger:flogger

I have no idea what this means or how to resolve it.

johnynek commented 3 years ago

It generally means that there is a cycle somewhere: x export y, y exports z, z exports x.

Something like that.

The error message should be clearer, but I would look at your file and see what flogger is exporting, or what is exporting flogger, and start removing things.

johnynek commented 2 years ago

btw: this may be a real circular dependency in the maven graph. We could probably support this by combining all those into a single target since bazel forbids loops.