FELIX-3222: avoid use of deprecated (since 3.0.x) exception type

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1203895 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/org/apache/felix/obrplugin/RemoteFileManager.java b/bundleplugin/src/main/java/org/apache/felix/obrplugin/RemoteFileManager.java
index c05be54..c6958b2 100644
--- a/bundleplugin/src/main/java/org/apache/felix/obrplugin/RemoteFileManager.java
+++ b/bundleplugin/src/main/java/org/apache/felix/obrplugin/RemoteFileManager.java
@@ -25,7 +25,6 @@
 import java.io.IOException;
 import java.io.Writer;
 
-import org.apache.maven.artifact.manager.WagonConfigurationException;
 import org.apache.maven.artifact.manager.WagonManager;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugin.logging.Log;
@@ -36,6 +35,7 @@
 import org.apache.maven.wagon.TransferFailedException;
 import org.apache.maven.wagon.UnsupportedProtocolException;
 import org.apache.maven.wagon.Wagon;
+import org.apache.maven.wagon.WagonException;
 import org.apache.maven.wagon.authentication.AuthenticationException;
 import org.apache.maven.wagon.authorization.AuthorizationException;
 import org.apache.maven.wagon.proxy.ProxyInfo;
@@ -121,7 +121,7 @@
         {
             throw new MojoExecutionException( "Unsupported protocol: '" + repository.getProtocol() + "'", e );
         }
-        catch ( WagonConfigurationException e )
+        catch ( WagonException e )
         {
             throw new MojoExecutionException( "Unable to configure Wagon: '" + repository.getProtocol() + "'", e );
         }