bazeltools / bazel-deps

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

3rd party directory is not generated #255

Open smolamarcin opened 5 years ago

smolamarcin commented 5 years ago

Hello. First of all, thanks for your project, it's really life-savier.

I think It's a newbie question, but I don't know how to deal with this problem. I'm using Windows. I would like to generate maven dependencies based on my dependencies.yaml file. Here are WORKSPACE and dependencies.yaml in my project directory(pom.xml is located here) https://gist.github.com/smolamarcin/06154fcfdd42c0938370800faac0d55b

I cloned bazel-deps repo, and I'm trying to generate 3rdparty in my project directory, but It's not working. I'm trying to do it with command (from bazel-deps directory):

bazel run //:parse -- generate -r "$MY_PROJECT_WITH_POM_AND_DEPENDENCIES_YAML" -s 3rdparty/workspace.bzl -d dependencies.yaml

The directory is not generated. What I'm doing wrong?

akashdayal commented 4 years ago

It should be bazel run //:parse generate -- and not bazel run //:parse -- generate. Notice the --