Skip to content

Commit 6305e1a

Browse files
committed
[build] ensure maven dependency update task will execute
1 parent 3f9b606 commit 6305e1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Rakefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,10 @@ namespace :java do
832832

833833
desc 'Update Maven dependencies'
834834
task :update do
835+
# Make sure things are in a good state to start with
836+
args = ['--action_env=RULES_JVM_EXTERNAL_REPIN=1']
837+
Bazel.execute('run', args, '@unpinned_maven//:pin')
838+
835839
file_path = 'java/maven_deps.bzl'
836840
content = File.read(file_path)
837841
# For some reason ./go wrapper is not outputting from Open3, so cannot use Bazel class directly

0 commit comments

Comments
 (0)