Class RelocatedArtifact

java.lang.Object
org.eclipse.aether.artifact.AbstractArtifact
org.apache.maven.repository.internal.RelocatedArtifact
All Implemented Interfaces:
org.eclipse.aether.artifact.Artifact

@Deprecated(since="4.0.0") public final class RelocatedArtifact extends org.eclipse.aether.artifact.AbstractArtifact
Deprecated.
since 4.0.0, use maven-api-impl jar instead
  • Constructor Details

    • RelocatedArtifact

      public RelocatedArtifact(org.eclipse.aether.artifact.Artifact artifact, String groupId, String artifactId, String classifier, String extension, String version, String message)
      Deprecated.
  • Method Details

    • getGroupId

      public String getGroupId()
      Deprecated.
    • getArtifactId

      public String getArtifactId()
      Deprecated.
    • getClassifier

      public String getClassifier()
      Deprecated.
    • getExtension

      public String getExtension()
      Deprecated.
    • getVersion

      public String getVersion()
      Deprecated.
    • setVersion

      public org.eclipse.aether.artifact.Artifact setVersion(String version)
      Deprecated.
      Specified by:
      setVersion in interface org.eclipse.aether.artifact.Artifact
      Overrides:
      setVersion in class org.eclipse.aether.artifact.AbstractArtifact
    • setFile

      @Deprecated public org.eclipse.aether.artifact.Artifact setFile(File file)
      Deprecated.
      Specified by:
      setFile in interface org.eclipse.aether.artifact.Artifact
      Overrides:
      setFile in class org.eclipse.aether.artifact.AbstractArtifact
    • setPath

      public org.eclipse.aether.artifact.Artifact setPath(Path path)
      Deprecated.
      Specified by:
      setPath in interface org.eclipse.aether.artifact.Artifact
      Overrides:
      setPath in class org.eclipse.aether.artifact.AbstractArtifact
    • setProperties

      public org.eclipse.aether.artifact.Artifact setProperties(Map<String,String> properties)
      Deprecated.
      Specified by:
      setProperties in interface org.eclipse.aether.artifact.Artifact
      Overrides:
      setProperties in class org.eclipse.aether.artifact.AbstractArtifact
    • getFile

      @Deprecated public File getFile()
      Deprecated.
    • getPath

      public Path getPath()
      Deprecated.
      Specified by:
      getPath in interface org.eclipse.aether.artifact.Artifact
      Overrides:
      getPath in class org.eclipse.aether.artifact.AbstractArtifact
    • getProperty

      public String getProperty(String key, String defaultValue)
      Deprecated.
      Specified by:
      getProperty in interface org.eclipse.aether.artifact.Artifact
      Overrides:
      getProperty in class org.eclipse.aether.artifact.AbstractArtifact
    • getProperties

      public Map<String,String> getProperties()
      Deprecated.
    • getMessage

      public String getMessage()
      Deprecated.