Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildozer message incorrect with --incompatible_use_plus_in_repo_names #1219

Closed
peakschris opened this issue Aug 21, 2024 · 0 comments · Fixed by #1224
Closed

buildozer message incorrect with --incompatible_use_plus_in_repo_names #1219

peakschris opened this issue Aug 21, 2024 · 0 comments · Fixed by #1224

Comments

@peakschris
Copy link

When bazel is run with --incompatible_use_plus_in_repo_names, repository names change, and the buildozer message that is emitted by rules_jvm_external is incorrect:

 ** Please add the following dependencies:
  @rules_jvm_external++maven+maven//:io_rest_assured_json_path @rules_jvm_external++maven+maven//:org_apache_groovy_groovy to //src/path/to:target
 ** You can use the following buildozer command:
buildozer 'add deps @rules_jvm_external++maven+maven//:io_rest_assured_json_path @rules_jvm_external++maven+maven//:org_apache_groovy_groovy' //src/path/to:target

See: bazelbuild/bazel#23127

This is on windows, with rules_jvm_external 6.2 and bazel 7.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant