Class DefaultWagonManager
- java.lang.Object
-
- org.apache.maven.repository.legacy.DefaultWagonManager
-
- org.apache.maven.artifact.manager.DefaultWagonManager
-
- All Implemented Interfaces:
WagonManager
,WagonManager
@Component(role=WagonManager.class) public class DefaultWagonManager extends DefaultWagonManager implements WagonManager
Manages Wagon related operations in Maven.
-
-
Constructor Summary
Constructors Constructor Description DefaultWagonManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories)
void
getArtifact(Artifact artifact, ArtifactRepository repository)
org.apache.maven.wagon.authentication.AuthenticationInfo
getAuthenticationInfo(String id)
this method is only here for backward compat (project-info-reports:dependencies) the default implementation will return an empty AuthenticationInfoArtifactRepository
getMirrorRepository(ArtifactRepository repository)
Deprecated.org.apache.maven.wagon.proxy.ProxyInfo
getProxy(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
-
-
-
-
Method Detail
-
getAuthenticationInfo
public org.apache.maven.wagon.authentication.AuthenticationInfo getAuthenticationInfo(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- Specified by:
getAuthenticationInfo
in interfaceWagonManager
-
getProxy
public org.apache.maven.wagon.proxy.ProxyInfo getProxy(String protocol)
- Specified by:
getProxy
in interfaceWagonManager
-
getArtifact
public void getArtifact(Artifact artifact, ArtifactRepository repository) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException
- Specified by:
getArtifact
in interfaceWagonManager
- Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
-
getArtifact
public void getArtifact(Artifact artifact, List<ArtifactRepository> remoteRepositories) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException
- Specified by:
getArtifact
in interfaceWagonManager
- Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
-
getMirrorRepository
@Deprecated public ArtifactRepository getMirrorRepository(ArtifactRepository repository)
Deprecated.- Specified by:
getMirrorRepository
in interfaceWagonManager
-
-