mirror of https://github.com/apache/maven.git
Fix NPE due to missing MVNW_VERBOSE
This commit is contained in:
parent
179ee307a6
commit
8fc916cd9c
|
@ -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