Class DefaultWagonManager
java.lang.Object
org.apache.maven.repository.legacy.DefaultWagonManager
- All Implemented Interfaces:
WagonManager
- Direct Known Subclasses:
DefaultWagonManager
@Named
@Singleton
@Deprecated
public class DefaultWagonManager
extends Object
implements WagonManager
Deprecated.
Manages Wagon related operations in Maven.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getArtifact
(Artifact artifact, List<ArtifactRepository> remoteRepositories, org.apache.maven.wagon.events.TransferListener downloadMonitor, boolean force) Deprecated.void
getArtifact
(Artifact artifact, ArtifactRepository repository, org.apache.maven.wagon.events.TransferListener downloadMonitor, boolean force) Deprecated.void
getArtifactMetadata
(ArtifactMetadata metadata, ArtifactRepository repository, File destination, String checksumPolicy) Deprecated.void
getArtifactMetadataFromDeploymentRepository
(ArtifactMetadata metadata, ArtifactRepository repository, File destination, String checksumPolicy) Deprecated.void
getRemoteFile
(ArtifactRepository repository, File destination, String remotePath, org.apache.maven.wagon.events.TransferListener downloadMonitor, String checksumPolicy, boolean force) Deprecated.org.apache.maven.wagon.Wagon
Deprecated.org.apache.maven.wagon.Wagon
getWagon
(org.apache.maven.wagon.repository.Repository repository) Deprecated.void
putArtifact
(File source, Artifact artifact, ArtifactRepository deploymentRepository, org.apache.maven.wagon.events.TransferListener downloadMonitor) Deprecated.void
putArtifactMetadata
(File source, ArtifactMetadata artifactMetadata, ArtifactRepository repository) Deprecated.void
putRemoteFile
(ArtifactRepository repository, File source, String remotePath, org.apache.maven.wagon.events.TransferListener downloadMonitor) Deprecated.
-
Constructor Details
-
DefaultWagonManager
public DefaultWagonManager()Deprecated.
-
-
Method Details
-
getArtifact
public void getArtifact(Artifact artifact, ArtifactRepository repository, org.apache.maven.wagon.events.TransferListener downloadMonitor, boolean force) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException Deprecated.- 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, org.apache.maven.wagon.events.TransferListener downloadMonitor, boolean force) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException Deprecated.- Specified by:
getArtifact
in interfaceWagonManager
- Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
-
getArtifactMetadata
public void getArtifactMetadata(ArtifactMetadata metadata, ArtifactRepository repository, File destination, String checksumPolicy) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException Deprecated.- Specified by:
getArtifactMetadata
in interfaceWagonManager
- Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
-
getArtifactMetadataFromDeploymentRepository
public void getArtifactMetadataFromDeploymentRepository(ArtifactMetadata metadata, ArtifactRepository repository, File destination, String checksumPolicy) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException Deprecated.- Specified by:
getArtifactMetadataFromDeploymentRepository
in interfaceWagonManager
- Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
-
getRemoteFile
public void getRemoteFile(ArtifactRepository repository, File destination, String remotePath, org.apache.maven.wagon.events.TransferListener downloadMonitor, String checksumPolicy, boolean force) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException Deprecated.- Specified by:
getRemoteFile
in interfaceWagonManager
- Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
-
putArtifact
public void putArtifact(File source, Artifact artifact, ArtifactRepository deploymentRepository, org.apache.maven.wagon.events.TransferListener downloadMonitor) throws org.apache.maven.wagon.TransferFailedException Deprecated.- Specified by:
putArtifact
in interfaceWagonManager
- Throws:
org.apache.maven.wagon.TransferFailedException
-
putArtifactMetadata
public void putArtifactMetadata(File source, ArtifactMetadata artifactMetadata, ArtifactRepository repository) throws org.apache.maven.wagon.TransferFailedException Deprecated.- Specified by:
putArtifactMetadata
in interfaceWagonManager
- Throws:
org.apache.maven.wagon.TransferFailedException
-
putRemoteFile
public void putRemoteFile(ArtifactRepository repository, File source, String remotePath, org.apache.maven.wagon.events.TransferListener downloadMonitor) throws org.apache.maven.wagon.TransferFailedException Deprecated.- Specified by:
putRemoteFile
in interfaceWagonManager
- Throws:
org.apache.maven.wagon.TransferFailedException
-
getWagon
@Deprecated public org.apache.maven.wagon.Wagon getWagon(org.apache.maven.wagon.repository.Repository repository) throws org.apache.maven.wagon.UnsupportedProtocolException Deprecated.- Specified by:
getWagon
in interfaceWagonManager
- Throws:
org.apache.maven.wagon.UnsupportedProtocolException
-
getWagon
@Deprecated public org.apache.maven.wagon.Wagon getWagon(String protocol) throws org.apache.maven.wagon.UnsupportedProtocolException Deprecated.- Specified by:
getWagon
in interfaceWagonManager
- Throws:
org.apache.maven.wagon.UnsupportedProtocolException
-