Skip to content

Commit

Permalink
Merge pull request #897 from sebastiankirsch/master
Browse files Browse the repository at this point in the history
[Extended Authentication] Enable usage of system properties for HttpClient
  • Loading branch information
rhuss committed Nov 10, 2017
2 parents 021e8a6 + 7351441 commit 949c71d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private JSONObject getAuthorizationToken(AuthConfig localCredentials) throws IOE
}

CloseableHttpClient createClient() {
return HttpClients.createDefault();
return HttpClients.custom().useSystemProperties().build();
}

private JSONObject executeRequest(CloseableHttpClient client, HttpPost request) throws IOException, MojoExecutionException {
Expand Down

0 comments on commit 949c71d

Please sign in to comment.