[jira] [Commented] (MWRAPPER-43) Download of jar must be quiet by default

2021-12-22 Thread Herve Boutemy (Jira)


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

Herve Boutemy commented on MWRAPPER-43:
---

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/sin 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   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100 58727  100 587270 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)


[jira] [Commented] (MWRAPPER-43) Download of jar must be quiet by default

2021-12-22 Thread Jira


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

Jorge Solórzano commented on MWRAPPER-43:
-

Well, the little trick I do is to make the _if command -v..._ that check wget 
and curl to intentionally fail:

This disables the wget check:
{noformat}
sed -i 's/command -v wget/command -v wgets/' mvnw{noformat}
This disables the curl check:
{noformat}
sed -i 's/command -v curl/command -v curls/' mvnw{noformat}
Then to restore is simply swap back the correct commands:
{noformat}
sed -i 's/command -v wgets/command -v wget/' mvnw
sed -i 's/command -v curls/command -v curl/' mvnw
{noformat}
A bit hackish but doesn't require to uninstall or root and with the side effect 
that you have to modify the script.

Thinking of doing more complete integration tests, those scripts require a bit 
of refactoring that allows making such tests more easily and also more 
maintainable.

> 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/sin 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   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100 58727  100 587270 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)


[jira] [Commented] (MWRAPPER-43) Download of jar must be quiet by default

2021-12-21 Thread Herve Boutemy (Jira)


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

Herve Boutemy commented on MWRAPPER-43:
---

out of curiosity: how do you test with/without wget and curl?
are you basically installing/removing them on your Linux box? or did you 
imagine a trick to disable them without being root?
it could help us doing more complete integration tests...

> 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/sin 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   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100 58727  100 587270 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)


[jira] [Commented] (MWRAPPER-43) Download of jar must be quiet by default

2021-12-21 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on MWRAPPER-43:


hboutemy commented on pull request #12:
URL: https://github.com/apache/maven-wrapper/pull/12#issuecomment-998966338


   perfect, thank you


-- 
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


> 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
>Priority: Normal
>
> 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/sin 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   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100 58727  100 587270 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)


[jira] [Commented] (MWRAPPER-43) Download of jar must be quiet by default

2021-12-21 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on MWRAPPER-43:


hboutemy merged pull request #12:
URL: https://github.com/apache/maven-wrapper/pull/12


   


-- 
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


> 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
>Priority: Normal
>
> 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/sin 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   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100 58727  100 587270 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)


[jira] [Commented] (MWRAPPER-43) Download of jar must be quiet by default

2021-12-21 Thread Herve Boutemy (Jira)


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

Herve Boutemy commented on MWRAPPER-43:
---

thank you [~jorsol]: now I perfectly see the expected improvement :)

I'll review the PR soon

> 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
>Priority: Normal
>
> 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/sin 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   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100 58727  100 587270 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)


[jira] [Commented] (MWRAPPER-43) Download of jar must be quiet by default

2021-12-21 Thread Jira


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

Jorge Solórzano commented on MWRAPPER-43:
-

[~hboutemy] I have updated the description with the current output of every 
command, essentially all that is between ./mvnw and the first INFO message 
(from maven) is verbosity that should be hidden by default.

> 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
>Priority: Normal
>
> 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/sin 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   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100 58727  100 587270 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)


[jira] [Commented] (MWRAPPER-43) Download of jar must be quiet by default

2021-12-20 Thread Herve Boutemy (Jira)


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

Herve Boutemy commented on MWRAPPER-43:
---

can you add in your issue description the current output, so we can see clearly 
the "before" and later the "after", please?

> 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
>Priority: Normal
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (MWRAPPER-43) Download of jar must be quiet by default

2021-12-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on MWRAPPER-43:


jorsol opened a new pull request #12:
URL: https://github.com/apache/maven-wrapper/pull/12


   This adds `--quiet` to wget and `--silent` to curl by default, and only when 
MVNW_VERBOSE is set to true it prints the download information.
   
   Also the MavenWrapperDownloader.java is modified to read and print based on 
MVNW_VERBOSE.


-- 
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


> 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
>Priority: Normal
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)