org.apache.maven.artifact.manager
Class DefaultWagonManager

java.lang.Object
  extended by org.apache.maven.repository.legacy.DefaultWagonManager
      extended by org.apache.maven.artifact.manager.DefaultWagonManager
All Implemented Interfaces:
WagonManager

@Component(role=WagonManager.class)
public class DefaultWagonManager
extends DefaultWagonManager
implements WagonManager


Constructor Summary
DefaultWagonManager()
           
 
Method Summary
 void getArtifact(Artifact artifact, ArtifactRepository repository)
           
 void getArtifact(Artifact artifact, java.util.List<ArtifactRepository> remoteRepositories)
           
 org.apache.maven.wagon.authentication.AuthenticationInfo getAuthenticationInfo(java.lang.String id)
          this method is only here for backward compat (project-info-reports:dependencies) the default implementation will return an empty AuthenticationInfo
 org.apache.maven.wagon.proxy.ProxyInfo getProxy(java.lang.String protocol)
           
 
Methods inherited from class org.apache.maven.repository.legacy.DefaultWagonManager
getArtifact, getArtifact, getArtifactMetadata, getArtifactMetadataFromDeploymentRepository, getRemoteFile, getWagon, getWagon, putArtifact, putArtifactMetadata, putRemoteFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.repository.legacy.WagonManager
getArtifact, getArtifact, getArtifactMetadata, getArtifactMetadataFromDeploymentRepository, getRemoteFile, getWagon, getWagon, putArtifact, putArtifactMetadata, putRemoteFile
 

Constructor Detail

DefaultWagonManager

public DefaultWagonManager()
Method Detail

getAuthenticationInfo

public org.apache.maven.wagon.authentication.AuthenticationInfo getAuthenticationInfo(java.lang.String id)
Description copied from interface: WagonManager
this method is only here for backward compat (project-info-reports:dependencies) the default implementation will return an empty AuthenticationInfo


getProxy

public org.apache.maven.wagon.proxy.ProxyInfo getProxy(java.lang.String protocol)

getArtifact

public void getArtifact(Artifact artifact,
                        ArtifactRepository repository)
                 throws org.apache.maven.wagon.TransferFailedException,
                        org.apache.maven.wagon.ResourceDoesNotExistException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException

getArtifact

public void getArtifact(Artifact artifact,
                        java.util.List<ArtifactRepository> remoteRepositories)
                 throws org.apache.maven.wagon.TransferFailedException,
                        org.apache.maven.wagon.ResourceDoesNotExistException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.