Interface Deployer

  • All Known Implementing Classes:
    DefaultDeployer

    public interface Deployer
    Publishes artifacts to a remote repository.
    Restriction:
    This interface is not intended to be extended by clients.
    Restriction:
    This interface is not intended to be implemented by clients.
    Provisional:
    This type is provisional and can be changed, moved or removed without prior notice.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.aether.deployment.DeployResult deploy​(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.deployment.DeployRequest request)
      Uploads a collection of artifacts and their accompanying metadata to a remote repository.
    • Method Detail

      • deploy

        org.eclipse.aether.deployment.DeployResult deploy​(org.eclipse.aether.RepositorySystemSession session,
                                                          org.eclipse.aether.deployment.DeployRequest request)
                                                   throws org.eclipse.aether.deployment.DeploymentException
        Uploads a collection of artifacts and their accompanying metadata to a remote repository.
        Parameters:
        session - The repository session, must not be null.
        request - The deployment request, must not be null.
        Returns:
        The deployment result, never null.
        Throws:
        org.eclipse.aether.deployment.DeploymentException - If any artifact/metadata from the request could not be deployed.
        See Also:
        RepositorySystem.deploy(RepositorySystemSession, DeployRequest), MetadataGeneratorFactory.newInstance(RepositorySystemSession, DeployRequest)