Class ArtifactDescriptorUtils

java.lang.Object
org.apache.maven.repository.internal.ArtifactDescriptorUtils

@Deprecated(since="4.0.0") public class ArtifactDescriptorUtils extends Object
Deprecated.
since 4.0.0, use maven-api-impl jar instead
Warning: This is an internal utility class that is only public for technical reasons, it is not part of the public API. In particular, this class can be changed or deleted without prior notice.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.eclipse.aether.artifact.Artifact
    toPomArtifact(org.eclipse.aether.artifact.Artifact artifact)
    Deprecated.
     
    static org.eclipse.aether.artifact.Artifact
    toPomArtifactUnconditionally(org.eclipse.aether.artifact.Artifact artifact)
    Deprecated.
    Creates POM artifact out of passed in artifact by dropping classifier (if exists) and rewriting extension to "pom".
    static org.eclipse.aether.repository.RemoteRepository
    toRemoteRepository(org.apache.maven.model.Repository repository)
    Deprecated.
     
    static String
    toRepositoryChecksumPolicy(String artifactRepositoryPolicy)
    Deprecated.
     
    static org.eclipse.aether.repository.RepositoryPolicy
    toRepositoryPolicy(org.apache.maven.model.RepositoryPolicy policy)
    Deprecated.
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ArtifactDescriptorUtils

      public ArtifactDescriptorUtils()
      Deprecated.
  • Method Details

    • toPomArtifact

      public static org.eclipse.aether.artifact.Artifact toPomArtifact(org.eclipse.aether.artifact.Artifact artifact)
      Deprecated.
    • toPomArtifactUnconditionally

      public static org.eclipse.aether.artifact.Artifact toPomArtifactUnconditionally(org.eclipse.aether.artifact.Artifact artifact)
      Deprecated.
      Creates POM artifact out of passed in artifact by dropping classifier (if exists) and rewriting extension to "pom". Unconditionally, unlike toPomArtifact(Artifact) that does this only for artifacts without classifiers.
      Since:
      4.0.0
    • toRemoteRepository

      public static org.eclipse.aether.repository.RemoteRepository toRemoteRepository(org.apache.maven.model.Repository repository)
      Deprecated.
    • toRepositoryPolicy

      public static org.eclipse.aether.repository.RepositoryPolicy toRepositoryPolicy(org.apache.maven.model.RepositoryPolicy policy)
      Deprecated.
    • toRepositoryChecksumPolicy

      public static String toRepositoryChecksumPolicy(String artifactRepositoryPolicy)
      Deprecated.