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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getArtifact
(Artifact artifact, List<ArtifactRepository> remoteRepositories) void
getArtifact
(Artifact artifact, ArtifactRepository repository) org.apache.maven.wagon.authentication.AuthenticationInfo
this method is only here for backward compat (project-info-reports:dependencies) the default implementation will return an empty AuthenticationInfogetMirrorRepository
(ArtifactRepository repository) Deprecated.org.apache.maven.wagon.proxy.ProxyInfo
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 Details
-
DefaultWagonManager
public DefaultWagonManager()
-
-
Method Details
-
getAuthenticationInfo
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
- 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.- Specified by:
getMirrorRepository
in interfaceWagonManager
-