use warning instead of info

also remove unintended spaces
This commit is contained in:
Reinhold Degenfellner 2018-12-19 20:11:40 +01:00 committed by rfscholte
parent 790be24342
commit e09456d388
1 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ public class DefaultDownloader implements Downloader {
return;
}
if (!"https".equals(address.getScheme())) {
Logger.info("WARNING Using HTTP Basic Authentication over an insecure connection to download the Maven distribution. Please consider using HTTPS.");
Logger.warn("WARNING Using HTTP Basic Authentication over an insecure connection to download the Maven distribution. Please consider using HTTPS.");
}
connection.setRequestProperty("Authorization", "Basic " + base64Encode(userInfo));
}