xiangdong Huang created IOTDB-254:
-------------------------------------
Summary: Problem of using mvnw.cmd in Windows OS
Key: IOTDB-254
URL: https://issues.apache.org/jira/browse/IOTDB-254
Project: Apache IoTDB
Issue Type: Bug
Reporter: xiangdong Huang
When I run `.\mvnw.cmd package -DskipTests`,
something error like (in Chinese):
```
PS E:\code\git\incubator-iotdb> .\mvnw.cmd package -DskipTests
Couldn't find "E:\code\git\incubator-iotdb\.mvn\wrapper\maven-wrapper.jar",
downloading it ...
Downloading from:
"https://repo1.maven.org/maven2/io/takari/maven-wrapper/0.2.1/maven-wrapper-0.2.1.jar"
使用“2”个参数调用“DownloadFile”时发生异常:“请求被中止: 未能创建 SSL/TLS 安全通道。”
所在位置 行:1 字符: 1
+ (New-Object Net.WebClient).DownloadFile('https://repo1.maven.org/mave ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
```
If I download the jar from
[https://repo1.maven.org/maven2/io/takari/maven-wrapper/0.2.1/maven-wrapper-0.2.1.jar]
, move it to .mvn/wrapper/, rename it as maven-wrapper.jar, and run the
`mvnw.cmd package -DskipTests` again, then everything is ok.
I am not sure whether it is caused by the network in China, or a common problem
that we have to update the mvnw.cmd or source codes in .\mvn\wrapper\ ...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)