]> source.dussan.org Git - archiva.git/commitdiff
update to new wagon APIs
authorBrett Porter <brett@apache.org>
Wed, 28 May 2008 03:58:05 +0000 (03:58 +0000)
committerBrett Porter <brett@apache.org>
Wed, 28 May 2008 03:58:05 +0000 (03:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches@660803 13f79535-47bb-0310-9956-ffa450edef68

moved-repo-servlet/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/WagonDelegate.java
moved-repo-servlet/pom.xml

index 8979544386fbefa08648c4069a746c3fa4dd0b4b..9f2c8d2ff6d075897e11b6ae81e060c36a23ba12 100644 (file)
@@ -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
     {
index 47a20ba214f08da84f04e010b77cb968391ec27c..edb0661bb309b6f9be0b80e58746a441c84e354c 100644 (file)
@@ -28,7 +28,7 @@
   <parent>
     <groupId>org.apache.archiva</groupId>
     <artifactId>archiva-parent</artifactId>
-    <version>4-SNAPSHOT</version>
+    <version>3</version>
     <relativePath>../parent/pom.xml</relativePath>
   </parent>
   <name>Archiva</name>