From b99457913370753339511964fb1d7a53b8593ffe Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Mon, 12 Feb 2007 23:33:43 +0000 Subject: [PATCH] Bumping plexus-utils dep to 1.4.1-snapshot, and commenting out some of the debug statements from the default model lineage builder, to limit the debug output on a build back to some sane[r] level. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@506742 13f79535-47bb-0310-9956-ffa450edef68 --- .../build/model/DefaultModelLineageBuilder.java | 14 +++++++------- pom.xml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/maven-project/src/main/java/org/apache/maven/project/build/model/DefaultModelLineageBuilder.java b/maven-project/src/main/java/org/apache/maven/project/build/model/DefaultModelLineageBuilder.java index 19821c700d..8becff88b6 100644 --- a/maven-project/src/main/java/org/apache/maven/project/build/model/DefaultModelLineageBuilder.java +++ b/maven-project/src/main/java/org/apache/maven/project/build/model/DefaultModelLineageBuilder.java @@ -164,7 +164,7 @@ public class DefaultModelLineageBuilder if ( pom.isDirectory() ) { pomFile = new File( pom, "pom.xml" ); - getLogger().debug( "readModel(..): POM: " + pom + " is a directory. Trying: " + pomFile + " instead." ); +// getLogger().debug( "readModel(..): POM: " + pom + " is a directory. Trying: " + pomFile + " instead." ); } Model model; @@ -281,7 +281,7 @@ public class DefaultModelLineageBuilder String cacheKey = createCacheKey( modelParent ); - getLogger().debug( "Looking for cached parent POM under: " + cacheKey ); +// getLogger().debug( "Looking for cached parent POM under: " + cacheKey ); pomFile = (File) cachedModelsById.get( cacheKey ); @@ -365,9 +365,9 @@ public class DefaultModelLineageBuilder Artifact parentPomArtifact = artifactFactory.createBuildArtifact( modelParent.getGroupId(), modelParent .getArtifactId(), modelParent.getVersion(), "pom" ); - getLogger().debug( "Looking for parent: " + modelParent.getId() + " using artifact: " + parentPomArtifact ); - getLogger().debug( "\tLocal repository: " + localRepository.getBasedir() + "\n" ); - getLogger().debug( "\tRemote repositories:\n" + remoteRepositories.toString().replace( ',', '\n' ) + "\n" ); +// getLogger().debug( "Looking for parent: " + modelParent.getId() + " using artifact: " + parentPomArtifact ); +// getLogger().debug( "\tLocal repository: " + localRepository.getBasedir() + "\n" ); +// getLogger().debug( "\tRemote repositories:\n" + remoteRepositories.toString().replace( ',', '\n' ) + "\n" ); try { @@ -404,11 +404,11 @@ public class DefaultModelLineageBuilder if ( parentPomFile.isDirectory() ) { - getLogger().debug( "Parent relative-path is a directory; assuming \'pom.xml\' file exists within." ); +// getLogger().debug( "Parent relative-path is a directory; assuming \'pom.xml\' file exists within." ); parentPomFile = new File( parentPomFile, "pom.xml" ); } - getLogger().debug( "Looking for parent: " + modelParent.getId() + " in: " + parentPomFile ); +// getLogger().debug( "Looking for parent: " + modelParent.getId() + " in: " + parentPomFile ); if ( parentPomFile.exists() ) { diff --git a/pom.xml b/pom.xml index 5cfaba0dd3..6ae9458b95 100644 --- a/pom.xml +++ b/pom.xml @@ -199,7 +199,7 @@ org.codehaus.plexus plexus-utils - 1.4 + 1.4.1-SNAPSHOT commons-lang