You could add the option to the ${maven.projectBasedir}/.mvn/maven.config file,
but that's still a per project change, unfortunately.

On Tue, Apr 7, 2020 at 9:16 AM Tomo Suzuki <suzt...@google.com.invalid>
wrote:

> 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 <tarakesh...@gmail.com>
> 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
>

Reply via email to