From 42807d7765f3dd680778afeb59d64eb2917d1003 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Sun, 2 Sep 2007 02:13:00 +0000 Subject: [PATCH] o remove debug output o we don't need any but the super pom now for getting the initial repositories git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571919 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/extension/DefaultBuildExtensionScanner.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/extension/DefaultBuildExtensionScanner.java b/maven-core/src/main/java/org/apache/maven/extension/DefaultBuildExtensionScanner.java index dbe7d7da5c..9273ecf75f 100644 --- a/maven-core/src/main/java/org/apache/maven/extension/DefaultBuildExtensionScanner.java +++ b/maven-core/src/main/java/org/apache/maven/extension/DefaultBuildExtensionScanner.java @@ -105,7 +105,7 @@ public class DefaultBuildExtensionScanner try { - List originalRemoteRepositories = getInitialRemoteRepositories( localRepository, globalProfileManager ); + List originalRemoteRepositories = getInitialRemoteRepositories(); getLogger().debug( "Pre-scanning POM lineage of: " + pom + " for build extensions." ); @@ -342,7 +342,7 @@ public class DefaultBuildExtensionScanner return lineage; } - private List getInitialRemoteRepositories( ArtifactRepository localRepository, ProfileManager globalProfileManager ) + private List getInitialRemoteRepositories() throws ExtensionScanningException { MavenProject superProject; @@ -358,8 +358,6 @@ public class DefaultBuildExtensionScanner + e.getMessage(), e ); } - System.out.println( "superProject = " + superProject ); - return superProject.getRemoteArtifactRepositories(); }