rules_jvm_external icon indicating copy to clipboard operation
rules_jvm_external copied to clipboard

maven_install.jason not getting updated

Open soheil1987 opened this issue 1 year ago • 1 comments

So in my project I add an external dependency such as "com.zaxxer:HikariCP:4.0.3" to MODULE.bazel, then i run the command bazel run @unpinned_maven//:pin and i don't see my maven_install.json to get updated. is there a flag or something i need to turn on? my bazel version is 6.2.1 and I am on windows 10.

So the error that I am getting is 'cannot stat external/rules_jvm_external~5.2~maven~unpinned_maven/unsorted_deps.json' : no such file or directory

does anyone has any idea what can go wrong. thanks

soheil1987 avatar Jun 23 '23 16:06 soheil1987

Have you tried with REPIN=1:

REPIN=1 bazel run @unpinned_maven//:pin

elshad-faire avatar Aug 11 '23 17:08 elshad-faire