My 2 cents: alias mvn='/usr/bin/mvn -B --no-transfer-progress'
-----Original Message----- From: Tomo Suzuki <[email protected]> Sent: Tuesday, April 7, 2020 5:17 PM To: Maven Users List <[email protected]> Subject: Re: Global setting for --no-transfer-progress I tried MAVEN_OPTS, which did not work (it's not for Java virtual machine): suztomo-macbookpro44% export MAVEN_OPTS='--no-transfer-progress' suztomo-macbookpro44% mvn compile Unrecognized option: --no-transfer-progress Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Ugly suggestion: adding that option at the end of "mvn" shell script. On Tue, Apr 7, 2020 at 7:29 AM Tarakesh Vishwanath <[email protected]> wrote: > Hi, > > We have started using Maven 3.6.1's new option --no-transfer-progress > to reduce the log output. However, it is cumbersome to add this flag > to every maven invocation in codebase. > Just wanted to know if there's any way this setting can be made Global ?? > > Regards, > Tarakesh > -- Regards, Tomo
