From 81b95fde8a689221cfe3c1654ad84ad682c5aeff Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Thu, 5 Mar 2009 12:09:21 +0000 Subject: [PATCH] o Removed debug logging git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750434 13f79535-47bb-0310-9956-ffa450edef68 --- .../artifact/repository/DefaultArtifactRepository.java | 8 ++++---- .../DefaultMavenExecutionRequestPopulator.java | 10 ---------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java b/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java index 4856c79ef6..6bcd2c8cf0 100644 --- a/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java +++ b/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java @@ -174,11 +174,11 @@ public class DefaultArtifactRepository { StringBuffer sb = new StringBuffer(); - sb.append( " id: " + getId() ).append( "\n" ); - sb.append( " url: " + getUrl() ).append( "\n" ); + sb.append( " id: " + getId() ).append( "\n" ); + sb.append( " url: " + getUrl() ).append( "\n" ); sb.append( " layout: " + ( layout != null ? layout.getId() : "none" ) ).append( "\n" ); - sb.append( "snapshot policy: [update => " + snapshots.getUpdatePolicy() ).append( " ]\n" ); - sb.append( " release policy: [update => " + releases.getUpdatePolicy() ).append( " ]\n" ); + sb.append( "snapshot policy: [update => " + snapshots.getUpdatePolicy() ).append( "]\n" ); + sb.append( " release policy: [update => " + releases.getUpdatePolicy() ).append( "]\n" ); return sb.toString(); } diff --git a/maven-embedder/src/main/java/org/apache/maven/embedder/execution/DefaultMavenExecutionRequestPopulator.java b/maven-embedder/src/main/java/org/apache/maven/embedder/execution/DefaultMavenExecutionRequestPopulator.java index f58e88d3c6..d2d958507d 100644 --- a/maven-embedder/src/main/java/org/apache/maven/embedder/execution/DefaultMavenExecutionRequestPopulator.java +++ b/maven-embedder/src/main/java/org/apache/maven/embedder/execution/DefaultMavenExecutionRequestPopulator.java @@ -304,17 +304,7 @@ public class DefaultMavenExecutionRequestPopulator // // - System.out.println( "ORIGINAL REPOSITORIES" ); - for ( ArtifactRepository repo : request.getRemoteRepositories() ) - { - System.out.println( repo ); - } request.setRemoteRepositories( repositorySystem.getMirrors( request.getRemoteRepositories() ) ); - System.out.println( "MIRRORED REPOSITORIES" ); - for ( ArtifactRepository repo : request.getRemoteRepositories() ) - { - System.out.println( repo ); - } } // ------------------------------------------------------------------------