diff --git a/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java b/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java index 53be347ed6..03272e4eb5 100644 --- a/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java +++ b/maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java @@ -110,7 +110,7 @@ public class DefaultMavenProjectBuilder Model userModel = null; // TODO: use maven home local instead of user.home/.m2 - File userModelFile = new File( System.getProperty( "user.home" ) + "/.m2", "pom.xml" ); + File userModelFile = new File( System.getProperty( "user.home" ) + "/.m2", "override.xml" ); if ( userModelFile.exists() ) { userModel = modelReader.read( new FileReader( userModelFile ) ); diff --git a/maven-mboot2/src/main/java/MBoot.java b/maven-mboot2/src/main/java/MBoot.java index 3c8fe8b838..91bb598aa2 100644 --- a/maven-mboot2/src/main/java/MBoot.java +++ b/maven-mboot2/src/main/java/MBoot.java @@ -71,6 +71,7 @@ public class MBoot "maven-plugin", "maven-plugin-tools", "maven-artifact", + "maven-1.x-integration", "maven-core", "maven-core-it-verifier" }; @@ -139,7 +140,7 @@ public class MBoot public void run( String[] args ) throws Exception { - File userPomFile = new File( System.getProperty( "user.home" ), ".m2/pom.xml" ); + File userPomFile = new File( System.getProperty( "user.home" ), ".m2/override.xml" ); reader = new ModelReader(); @@ -154,7 +155,7 @@ public class MBoot if ( mavenRepoLocal == null ) { - System.out.println( "You must have a ~/.m2/pom.xml file and must contain the following entries:" ); + System.out.println( "You must have a ~/.m2/override.xml file and must contain the following entries:" ); System.out.println( "" ); System.out.println( " /path/to/m2/repository (required)" ); System.out.println( " true (optional)" ); diff --git a/mboot.jar b/mboot.jar index b0da6f5659..2f65e0302c 100644 Binary files a/mboot.jar and b/mboot.jar differ