Class ArtifactDescriptorUtils

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

public class ArtifactDescriptorUtils extends Object
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()
  • Method Details

    • toPomArtifact

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

      public static org.eclipse.aether.artifact.Artifact toPomArtifactUnconditionally(org.eclipse.aether.artifact.Artifact artifact)
      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)
    • toRepositoryPolicy

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

      public static String toRepositoryChecksumPolicy(String artifactRepositoryPolicy)