Class ArtifactDescriptorUtils
java.lang.Object
org.apache.maven.repository.internal.ArtifactDescriptorUtils
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.aether.artifact.Artifact
toPomArtifact
(org.eclipse.aether.artifact.Artifact artifact) 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".static org.eclipse.aether.repository.RemoteRepository
toRemoteRepository
(Repository repository) static String
toRepositoryChecksumPolicy
(String artifactRepositoryPolicy) static org.eclipse.aether.repository.RepositoryPolicy
toRepositoryPolicy
(RepositoryPolicy policy)
-
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, unliketoPomArtifact(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
-