Skip to content

Commit fe0ed9a

Browse files
committed
don't require maven credentials when doing a 'maven-install'
1 parent ba67742 commit fe0ed9a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Rakefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,7 @@ end
557557
task :'maven-install' => JAVA_RELEASE_TARGETS do |t|
558558
t.prerequisites.each do |p|
559559
if JAVA_RELEASE_TARGETS.include?(p)
560-
creds = read_user_pass_from_m2_settings()
561-
Buck::buck_cmd.call('publish', ['--remote-repo', "file://#{ENV['HOME']}/.m2/repository", '--include-source', '--include-javadoc', '-u', creds[0], '-p', creds[1], p])
560+
Buck::buck_cmd.call('publish', ['--remote-repo', "file://#{ENV['HOME']}/.m2/repository", '--include-source', '--include-javadoc', p])
562561
end
563562
end
564563
end

0 commit comments

Comments
 (0)