[ https://issues.apache.org/jira/browse/MWRAPPER-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464026#comment-17464026 ]
Herve Boutemy edited comment on MWRAPPER-43 at 12/22/21, 8:03 PM: ------------------------------------------------------------------ thanks for the feedback: yes, updating the script was an option I had imagined... we can do it in ITs, then no need to restore after the run was (Author: hboutemy): thanks for the feedback: yes, updating the script was an option I had imagined... > Download of jar must be quiet by default > ---------------------------------------- > > Key: MWRAPPER-43 > URL: https://issues.apache.org/jira/browse/MWRAPPER-43 > Project: Maven Wrapper > Issue Type: Improvement > Components: Maven Wrapper Scripts > Affects Versions: 3.1.0 > Reporter: Jorge Solórzano > Assignee: Herve Boutemy > Priority: Normal > Fix For: 3.1.1 > > > By default, the wrapper must be quiet, if the _maven-wrapper.jar_ is not > found the scripts try to download the jar using {*}wget{*}, {*}curl{*}, or > the {*}MavenWrapperDownloader{*}.java. > The download process should only print the output when the +*MVNW_VERBOSE*+ > is set to true. > Current output for *wget* when the maven-wrapper.jar is missing: > {noformat} > ./mvnw clean > --2021-12-21 11:52:43-- > https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar > Resolving repo.maven.apache.org (repo.maven.apache.org)... 151.101.132.215 > Connecting to repo.maven.apache.org > (repo.maven.apache.org)|151.101.132.215|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: 58727 (57K) [application/java-archive] > Saving to: '/home/wrapper/api/.mvn/wrapper/maven-wrapper.jar' > /home/jorsol/Trabajo/conf-worksp > 100%[==========================================================>] 57,35K > --.-KB/s in 0,007s > 2021-12-21 11:52:44 (8,13 MB/s) - > '/home/wrapper/api/.mvn/wrapper/maven-wrapper.jar' saved [58727/58727] > 11:52:45.544 [INFO] Scanning for projects... > ... > {noformat} > Current output for *curl* the maven-wrapper.jar is missing: > {noformat} > ./mvnw clean > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left Speed > 100 58727 100 58727 0 0 1303k 0 --:--:-- --:--:-- --:--:-- 1303k > 12:02:23.007 [INFO] Scanning for projects... > ... > {noformat} > Current output for *MavenWrapperDownloader* when the maven-wrapper.jar is > missing: > {noformat} > ./mvnw clean > - Downloader started > - Using base directory: /home/wrapper/api > - Downloading from: > https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar > - Downloading to: /home/wrapper/api/.mvn/wrapper/maven-wrapper.jar > Done > 11:50:21.599 [INFO] Scanning for projects... > ... > {noformat} > Everything between the _./mvnw_ and the first _INFO_ is just unwanted > verbosity. -- This message was sent by Atlassian Jira (v8.20.1#820001)