Class ArtifactUpload


public final class ArtifactUpload extends ArtifactTransfer
An upload of an artifact to a remote repository. A repository connector processing this upload has to use setException(ArtifactTransferException) to report the results of the transfer.
  • Constructor Details

    • ArtifactUpload

      public ArtifactUpload()
      Creates a new uninitialized upload.
    • ArtifactUpload

      public ArtifactUpload(org.eclipse.aether.artifact.Artifact artifact, File file)
      Creates a new upload with the specified properties.
      Parameters:
      artifact - The artifact to upload, may be null.
      file - The local file to upload the artifact from, may be null.
  • Method Details