From 5e1ef3d327c484a0e27047ca333eaf6d76193a59 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Wed, 24 Nov 2010 17:47:50 +0000 Subject: [PATCH] o Fixed deprecation warnings git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1038720 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/maven/LoggingRepositoryListener.java | 2 +- .../org/apache/maven/cli/AbstractMavenTransferListener.java | 2 +- .../java/org/apache/maven/cli/QuietMavenTransferListener.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/LoggingRepositoryListener.java b/maven-core/src/main/java/org/apache/maven/LoggingRepositoryListener.java index 6b5723f509..9bb22519d6 100644 --- a/maven-core/src/main/java/org/apache/maven/LoggingRepositoryListener.java +++ b/maven-core/src/main/java/org/apache/maven/LoggingRepositoryListener.java @@ -20,9 +20,9 @@ package org.apache.maven; */ import org.codehaus.plexus.logging.Logger; +import org.sonatype.aether.AbstractRepositoryListener; import org.sonatype.aether.RepositoryEvent; import org.sonatype.aether.transfer.MetadataNotFoundException; -import org.sonatype.aether.util.listener.AbstractRepositoryListener; /** * @author Benjamin Bentmann diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/AbstractMavenTransferListener.java b/maven-embedder/src/main/java/org/apache/maven/cli/AbstractMavenTransferListener.java index 0497139252..fd794188c2 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/AbstractMavenTransferListener.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/AbstractMavenTransferListener.java @@ -24,10 +24,10 @@ import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.util.Locale; +import org.sonatype.aether.transfer.AbstractTransferListener; import org.sonatype.aether.transfer.TransferCancelledException; import org.sonatype.aether.transfer.TransferEvent; import org.sonatype.aether.transfer.TransferResource; -import org.sonatype.aether.util.listener.AbstractTransferListener; abstract class AbstractMavenTransferListener extends AbstractTransferListener diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/QuietMavenTransferListener.java b/maven-embedder/src/main/java/org/apache/maven/cli/QuietMavenTransferListener.java index 094cb48f7c..489cc9bfb8 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/QuietMavenTransferListener.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/QuietMavenTransferListener.java @@ -19,7 +19,7 @@ package org.apache.maven.cli; * under the License. */ -import org.sonatype.aether.util.listener.AbstractTransferListener; +import org.sonatype.aether.transfer.AbstractTransferListener; /** * @author Benjamin Bentmann