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 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 interface WagonManager
      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 interface WagonManager
      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 interface WagonManager
      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 interface WagonManager
      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 interface WagonManager
      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 interface WagonManager
      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 interface WagonManager
      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 interface WagonManager
      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 interface WagonManager
      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 interface WagonManager
      Throws:
      org.apache.maven.wagon.UnsupportedProtocolException