Skip to content

Commit

Permalink
update README.md section on pinning to explicitly tell folks to have …
Browse files Browse the repository at this point in the history
…a root BUILD file (#243)
  • Loading branch information
KaoruDev authored and jin committed Sep 12, 2019
1 parent a77db91 commit 31bd810
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ load("@maven//:defs.bzl", "pinned_maven_install")
pinned_maven_install()
```

**Note:** Bazel assumes you have a BUILD file in your project's root directory.
If you do not have one, create an empty BUILD file to fix issues you may see.
See [#242](https://github.com/bazelbuild/rules_jvm_external/issues/242)

Whenever you make a change to the list of `artifacts` or `repositories` and want
to update `maven_install.json`, run this command to re-pin the unpinned `@maven`
repository:
Expand Down

0 comments on commit 31bd810

Please sign in to comment.