bazeltools / bazel-deps

Generate bazel dependencies for maven artifacts
MIT License
250 stars 122 forks source link

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

Open jmoseman01 opened 5 years ago

jmoseman01 commented 5 years ago

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

johnynek commented 5 years ago

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.

jmoseman01 commented 5 years ago

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