rules_jvm_external icon indicating copy to clipboard operation
rules_jvm_external copied to clipboard

mvn can resolve some circular dependency conflicts

Open aryeh-looker opened this issue 1 year ago • 2 comments

Repro and differences: https://github.com/aryeh-looker/bazel-circular-deps

Perhaps the rules could be modified to automatically resolve circular dependency conflicts when presented or documentation could be added to the repro and to error messages.

aryeh-looker avatar Sep 23 '22 22:09 aryeh-looker

Related: https://github.com/powsybl/powsybl-core/issues/2300

aryeh-looker avatar Sep 23 '22 22:09 aryeh-looker

How does maven ensure that it's safe to ignore the circular dep? Until we follow the same algorithm, I think making this a feature of RJE might lead to hard-to-debug failures that is better off dealt with a fail-fast cyclic dep error.

jin avatar Sep 26 '22 14:09 jin