Skip to content

Commit

Permalink
Experiment No2: force HTTP/1.1 on JDK transport
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Oct 17, 2024
1 parent 24b2d8f commit 826af6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected Map<String, String> populateSystemProperties(LocalContext context) thr
@Override
protected Map<String, String> populateUserProperties(LocalContext context) throws ParserException, IOException {
HashMap<String, String> props = new HashMap<>(super.populateUserProperties(context));
props.put("maven.resolver.transport", "apache");
props.put("aether.transport.jdk.httpVersion", "HTTP_1_1");
return props;
}

Expand Down

0 comments on commit 826af6b

Please sign in to comment.