update to new wagon APIs

git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/moved-repo-servlet@660803 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2008-05-28 03:58:05 +00:00
parent d74fd20146
commit 9e78c39482
2 changed files with 14 additions and 1 deletions

View 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
{

View 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>