Skip to content

Commit 5e6049b

Browse files
committed
Fixing maven targets
1 parent 66b90f1 commit 5e6049b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Rakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ end
453453
task :'maven-dry-run' => JAVA_RELEASE_TARGETS do |t|
454454
t.prerequisites.each do |p|
455455
if JAVA_RELEASE_TARGETS.include?(p)
456-
Buck::buck_cmd.call('publish', ['--dry-run', '--remote-repo', 'https://oss.sonatype.org/service/local/staging/deploy/maven2', p])
456+
Buck::buck_cmd('publish', ['--dry-run', '--remote-repo', 'https://oss.sonatype.org/service/local/staging/deploy/maven2', p])
457457
end
458458
end
459459
end
@@ -502,15 +502,15 @@ task :'publish-maven' => JAVA_RELEASE_TARGETS do
502502
creds = read_user_pass_from_m2_settings()
503503
JAVA_RELEASE_TARGETS.each do |p|
504504
if JAVA_RELEASE_TARGETS.include?(p)
505-
Buck::buck_cmd.call('publish', ['--remote-repo', 'https://oss.sonatype.org/service/local/staging/deploy/maven2', '--include-source', '--include-docs', '-u', creds[0], '-p', creds[1], '--signing-passphrase', passphrase, p])
505+
Buck::buck_cmd('publish', ['--remote-repo', 'https://oss.sonatype.org/service/local/staging/deploy/maven2', '--include-source', '--include-docs', '-u', creds[0], '-p', creds[1], '--signing-passphrase', passphrase, p])
506506
end
507507
end
508508
end
509509

510510
task :'maven-install' do
511511
JAVA_RELEASE_TARGETS.each do |p|
512512
if JAVA_RELEASE_TARGETS.include?(p)
513-
Buck::buck_cmd.call('publish', ['--remote-repo', "file://#{ENV['HOME']}/.m2/repository", '--include-source', '--include-docs', p])
513+
Buck::buck_cmd('publish', ['--remote-repo', "file://#{ENV['HOME']}/.m2/repository", '--include-source', '--include-docs', p])
514514
end
515515
end
516516
end

0 commit comments

Comments
 (0)