package org.apache.maven.wrapper;

/**
 * @author <a href="mailto:konstantin.sobolev@gmail.com">Konstantin Sobolev</a>
 */
public class Logger {
  private static final boolean VERBOSE = "true".equalsIgnoreCase(MavenWrapperMain.MVNW_VERBOSE);

  public static void info(String msg) {
    if (VERBOSE) {
      System.out.println(msg);
    }
  }

  public static void warn(String msg) {
    System.out.println(msg);
  }
}

@@ -203,16 +203,30 @@
 oreCase(
+System.getenv(
 MavenWra
@@ -247,16 +247,17 @@
 VERBOSE)
+)
 ;%0A%0A  pub

fix to actually read the environment variable value