From b1164a38e08207d4e606cbef56387c658755b8a5 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Wed, 28 May 2008 03:58:05 +0000 Subject: [PATCH] update to new wagon APIs git-svn-id: https://svn.apache.org/repos/asf/archiva/branches@660803 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/archiva/proxy/WagonDelegate.java | 13 +++++++++++++ moved-repo-servlet/pom.xml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/moved-repo-servlet/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/WagonDelegate.java b/moved-repo-servlet/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/WagonDelegate.java index 897954438..9f2c8d2ff 100644 --- a/moved-repo-servlet/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/WagonDelegate.java +++ b/moved-repo-servlet/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/WagonDelegate.java @@ -34,6 +34,7 @@ import org.apache.maven.wagon.authorization.AuthorizationException; import org.apache.maven.wagon.events.SessionListener; import org.apache.maven.wagon.events.TransferListener; import org.apache.maven.wagon.proxy.ProxyInfo; +import org.apache.maven.wagon.proxy.ProxyInfoProvider; import org.apache.maven.wagon.repository.Repository; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -126,6 +127,12 @@ public class WagonDelegate delegate.connect( source, proxyInfo ); } + public void connect( Repository source, ProxyInfoProvider proxyInfoProvider ) + throws ConnectionException, AuthenticationException + { + delegate.connect( source, proxyInfoProvider ); + } + public void connect( Repository source, AuthenticationInfo authenticationInfo ) throws ConnectionException, AuthenticationException { @@ -138,6 +145,12 @@ public class WagonDelegate delegate.connect( source, authenticationInfo, proxyInfo ); } + public void connect( Repository source, AuthenticationInfo authenticationInfo, ProxyInfoProvider proxyInfoProvider ) + throws ConnectionException, AuthenticationException + { + delegate.connect( source, authenticationInfo, proxyInfoProvider ); + } + public void openConnection() throws ConnectionException, AuthenticationException { diff --git a/moved-repo-servlet/pom.xml b/moved-repo-servlet/pom.xml index 47a20ba21..edb0661bb 100644 --- a/moved-repo-servlet/pom.xml +++ b/moved-repo-servlet/pom.xml @@ -28,7 +28,7 @@ org.apache.archiva archiva-parent - 4-SNAPSHOT + 3 ../parent/pom.xml Archiva -- 2.39.5