[ 
https://issues.apache.org/jira/browse/MWRAPPER-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090625#comment-17090625
 ] 

Michael Osipov commented on MWRAPPER-1:
---------------------------------------

Adding the wrapper to us, Maven TLP. Even it is not part of mvnw. We now have 
the burden to deal with it and fix issues like this.
Please go on with a suitable PR.

> Fails behind proxy 407
> ----------------------
>
>                 Key: MWRAPPER-1
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-1
>             Project: Maven Wrapper
>          Issue Type: Bug
>         Environment: Proxy with authentication, http_proxy set without 
> authentication
>            Reporter: Benjamin Marwell
>            Priority: Major
>
> Hi,
>  
> when executing `{color:#0747a6}{{./mvnw}}{color}` behind a proxy and the 
> proxy authentication does not succeed, {color:#0747a6}{{wget}}{color} will 
> still create an empty file {color:#0747a6}{{.mvn/maven-wrapper.jar}}{color}.
>  
> Subsequent calls to {color:#0747a6}{{./mvnw}}{color} 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to