diff --git a/maven-wrapper/src/main/java/org/apache/maven/wrapper/Logger.java b/maven-wrapper/src/main/java/org/apache/maven/wrapper/Logger.java index cfa254893e..bc81bbcb90 100644 --- a/maven-wrapper/src/main/java/org/apache/maven/wrapper/Logger.java +++ b/maven-wrapper/src/main/java/org/apache/maven/wrapper/Logger.java @@ -4,7 +4,7 @@ package org.apache.maven.wrapper; * @author Konstantin Sobolev */ public class Logger { - private static final boolean VERBOSE = "true".equalsIgnoreCase(MavenWrapperMain.MVNW_VERBOSE); + private static final boolean VERBOSE = "true".equalsIgnoreCase(System.getenv(MavenWrapperMain.MVNW_VERBOSE)); public static void info(String msg) { if (VERBOSE) {