With Bzlmod, only the root module can refer to its own repo via @//. Instead, modules should just use repo-relative labels to refer to themselves, which works even if they aren't the root module.
Avoids this warning with Bazel 8:
WARNING: The module extension @@rules_jvm_external+//:extensions.bzl%maven produced an invalid lockfile entry because it referenced @@[unknown repo '' requested from @@rules_jvm_external+]. Please report this issue to its maintainers.
With Bzlmod, only the root module can refer to its own repo via
@//
. Instead, modules should just use repo-relative labels to refer to themselves, which works even if they aren't the root module.Avoids this warning with Bazel 8: