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 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(Repository repository)
      Deprecated.
    • toRepositoryPolicy

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

      public static String toRepositoryChecksumPolicy(String artifactRepositoryPolicy)
      Deprecated.