mirror of https://github.com/apache/maven.git
Fix NPE due to missing MVNW_VERBOSE
This commit is contained in:
parent
fb82a01e70
commit
b77616c591
|
@ -39,7 +39,7 @@ public class MavenWrapperMain {
|
|||
public static final String MVNW_VERBOSE = "MVNW_VERBOSE";
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
Boolean verbose = System.getenv(MVNW_VERBOSE).equalsIgnoreCase("true");
|
||||
boolean verbose = "true".equalsIgnoreCase(System.getenv(MVNW_VERBOSE));
|
||||
|
||||
File wrapperJar = wrapperJar();
|
||||
File propertiesFile = wrapperProperties(wrapperJar);
|
||||
|
|
Loading…
Reference in New Issue