From 99f860bb4f102179bea77a01209b44b90cdb05e4 Mon Sep 17 00:00:00 2001 From: Julian Hyde Date: Fri, 31 Aug 2018 09:54:11 -0700 Subject: [PATCH] On Windows, use TLS 1.2 Github no longer supports TLS 1.0 or 1.1, but TLS 1.2 is not the default version of TLS for PowerShell. See https://github.com/cretueusebiu/valet-windows/issues/78#issuecomment-369824766 Also convert a couple of tabs to spaces, and remove a trailing space. --- maven-wrapper/mvnw.cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-wrapper/mvnw.cmd b/maven-wrapper/mvnw.cmd index fbf543c9c4..6c62530b53 100644 --- a/maven-wrapper/mvnw.cmd +++ b/maven-wrapper/mvnw.cmd @@ -122,7 +122,7 @@ set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.4.2/maven-wrapper-0.4.2.jar" FOR /F "tokens=1,2 delims==" %%A IN (%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties) DO ( - IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B ) @REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central