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

[bzlmod] first pin operation produces file with wrong name #835

Open
alexeagle opened this issue Jan 18, 2023 · 1 comment
Open

[bzlmod] first pin operation produces file with wrong name #835

alexeagle opened this issue Jan 18, 2023 · 1 comment

Comments

@alexeagle
Copy link
Contributor

Related to the lack of documentation for using this repo with bzlmod, I'm trying to write this up and running into some issues:

With this repro:

MODULE.bazel

bazel_dep(name = "rules_jvm_external", version = "4.5")
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")

maven.install(
    artifacts = ["org.seleniumhq.selenium:selenium-java:4.4.0"],
)

use_repo(maven, "maven")

then bazel run @maven//:pin and it creates a file named rules_jvm_external~4.5~maven~maven_install.json

I think this was meant to be just maven_install.json

@vorburger
Copy link
Contributor

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

2 participants