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

invalid repository name 'rules_jvm_external~~maven~unpinned_contrib_rules_jvm_deps' #1312

Open
nlou9 opened this issue Jan 16, 2025 · 0 comments

Comments

@nlou9
Copy link

nlou9 commented Jan 16, 2025

When I migrate to Bazel 8.0.0 and also 8.0.1rc1, it broke our build with the following error.

ERROR: /private/var/tmp/_bazel_nl/54456b41c0397f1af3a7ca068f37ad86/external/contrib_rules_jvm_deps/BUILD.bazel:3598:6: @@contrib_rules_jvm_deps//:pin: invalid label '@@rules_jvm_external~~maven~unpinned_contrib_rules_jvm_deps//:pin' in attribute 'actual' of 'alias': invalid repository name 'rules_jvm_external~~maven~unpinned_contrib_rules_jvm_deps': repo names may contain only A-Z, a-z, 0-9, '-', '_', '.' and '+'

I tried to clean the cache. I still got this error.

Could you help to check if the way rules_jvm_external constructs the repo name is not compatible with Bazel 8. Thanks

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

No branches or pull requests

1 participant