bazel-deps icon indicating copy to clipboard operation
bazel-deps copied to clipboard

Is there a way to run maven:maven_tool and bazel run //:parse without internet?

Open jmoseman01 opened this issue 6 years ago • 2 comments

Is there a way to run maven:maven_tool and bazel run //:parse without internet? bash bazel run //src/scala/com/github/johnynek/bazel_deps/maven:maven_tool {path-to-pom-xml}.

bash bazel run //:parse -- generate -r {path-to-your-project-where-dependencies.yaml-lives} -s 3rdparty/workspace.bzl -d dependencies.yaml

jmoseman01 avatar Jan 09 '19 20:01 jmoseman01

There is not currently. We transitively resolve all the packages and find a single version to commit for each artifact.

You can point to a private mirror such as a nexus installation. It doesn’t have to be the open internet.

johnynek avatar Jan 10 '19 06:01 johnynek

What all would we need to put in nexus for it to work?

jmoseman01 avatar Jan 10 '19 16:01 jmoseman01