Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.5.6
-
None
-
Proxy with authentication, http_proxy set without authentication
Description
Hi,
when executing `./mvnw` behind a proxy and the proxy authentication does not succeed, wget will still create an empty file .mvn/maven-wrapper.jar.
Subsequent calls to ./mvnw will see the existing (but empty) file and maven-wrapper will not attempt to redownload it. There is no clue what is going wrong, the only message is "Main class not found".
Suggested fixes:
- Check curl/wget return codes and delete the files if they got touched.
- Even if curl/wget were not invoked, delete empty files.
Attachments
Issue Links
- links to