When running bazel run //cli -- /path/to/profile I get the following error:
ERROR: /Users/aguardia/Development/engflow/bazel_invocation_analyzer/third_party/jsr305/BUILD:1:13: no such package '@maven//': The repository '@maven' could not be resolved: Repository '@maven' is not defined and referenced by '//third_party/jsr305:jsr305'
ERROR: Analysis of target '//cli:cli' failed; build aborted:
INFO: Elapsed time: 0.621s
INFO: 0 processes.
ERROR: Build failed. Not running target
Observed behavior
See error message above
Expected behavior
Successful profile analysis
Step-by-step guide on how to reproduce the bug
Clone current version of this repo: b441e9330819bc4ba0fba029c0a674ff97425707
bazel run //cli -- /path/to/profile
Additional context
I was able to resolve this by adding build --enable_bzlmod to the .bazelrc - should that be checked into the repo?
Environment
Details about the environment this bug was observed in.
Description
When running
bazel run //cli -- /path/to/profile
I get the following error:Observed behavior
See error message above
Expected behavior
Successful profile analysis
Step-by-step guide on how to reproduce the bug
Additional context
I was able to resolve this by adding
build --enable_bzlmod
to the.bazelrc
- should that be checked into the repo?Environment
Details about the environment this bug was observed in.