gzm55 commented on pull request #30:
URL: https://github.com/apache/maven-wrapper/pull/30#issuecomment-1073038686


   > You removed test `maven-wrapper-plugin/src/it/projects/type_source/` How 
inline downloader are covered by tests?
   
   the IT for type_source verify that the _plugin_ can download/extract the 
correct files, then run `./mvnw -v` can:
   
   - produce some logs
   - download the maven-wrapper.jar
   
   The verify process do not mock the environment without neither `curl` nor 
`wget`, so the java source branch is not covered.
   
   The inlined Downloader is very simple than the previous one, and should less 
likely go wrong. And to test the function of  the inlined java source in IT 
stage, we need hide curl and wget commands before run mvnw; or test in the UT 
stage, by greping out the java source from the script and run a download task.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to