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
This commit is contained in:
John Dennis Casey 2007-02-12 23:33:43 +00:00
parent 971b2dee8a
commit b994579133
2 changed files with 8 additions and 8 deletions

View File

@ -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() )
{

View File

@ -199,7 +199,7 @@
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>1.4</version>
<version>1.4.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>