Class DefaultWagonManager

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

@Named @Singleton public class DefaultWagonManager extends DefaultWagonManager implements WagonManager
Manages Wagon related operations in Maven.
  • Constructor Details

    • DefaultWagonManager

      public DefaultWagonManager()
  • Method Details

    • 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 interface WagonManager
      Parameters:
      id - an id
      Returns:
      corresponding authentication info
    • getProxy

      public org.apache.maven.wagon.proxy.ProxyInfo getProxy(String protocol)
      Specified by:
      getProxy in interface WagonManager
    • getArtifact

      public void getArtifact(Artifact artifact, ArtifactRepository repository) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException
      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) throws org.apache.maven.wagon.TransferFailedException, org.apache.maven.wagon.ResourceDoesNotExistException
      Specified by:
      getArtifact in interface WagonManager
      Throws:
      org.apache.maven.wagon.TransferFailedException
      org.apache.maven.wagon.ResourceDoesNotExistException
    • getMirrorRepository

      @Deprecated public ArtifactRepository getMirrorRepository(ArtifactRepository repository)
      Deprecated.
      Specified by:
      getMirrorRepository in interface WagonManager