From d12f6501f295f9b930eae21c1e96546b4fbd0e41 Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Sun, 6 Sep 2015 11:19:48 +0200 Subject: [PATCH] Refactored code to be consistent with other code. --- .../src/main/java/org/apache/maven/cli/MavenCli.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java index 6a437ec4f0..176ce4d843 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java @@ -148,6 +148,8 @@ public class MavenCli private static final String EXTENSIONS_FILENAME = ".mvn/extensions.xml"; + private static final String MVN_MAVEN_CONFIG = ".mvn/maven.config"; + private ClassWorld classWorld; private LoggerManager plexusLoggerManager; @@ -371,7 +373,7 @@ public class MavenCli try { - File configFile = new File( cliRequest.multiModuleProjectDirectory, ".mvn/maven.config" ); + File configFile = new File( cliRequest.multiModuleProjectDirectory, MVN_MAVEN_CONFIG ); if ( configFile.isFile() ) {