michael-o commented on code in PR #869:
URL: https://github.com/apache/maven/pull/869#discussion_r1019443790
##########
maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java:
##########
@@ -1593,7 +1622,10 @@ private TransferListener determineTransferListener(
final boolean quiet,
final CommandLine
commandLine,
final
MavenExecutionRequest request )
{
- if ( quiet || commandLine.hasOption( CLIManager.NO_TRANSFER_PROGRESS )
)
+ String ciEnv = request.getSystemProperties().getProperty( "env.CI" );
+ boolean quietCI = "true".equals( ciEnv ) && !commandLine.hasOption(
FORCE_INTERACTIVE );
Review Comment:
> Should not but you know, real life. So just testing `!=null && !false` is
more robust as of today IMHO.
I'd like to see what other tools do.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]