Package org.apache.maven.artifact
Class ArtifactUtils
java.lang.Object
org.apache.maven.artifact.ArtifactUtils
ArtifactUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionartifactMapByVersionlessId
(Collection<Artifact> artifacts) static Artifact
copyArtifact
(Artifact artifact) static <T extends Collection<Artifact>>
TcopyArtifacts
(Collection<Artifact> from, T to) Returnsto
collectioncopyArtifacts
(Map<K, ? extends Artifact> from, T to) static Artifact
copyArtifactSafe
(Artifact artifact) static boolean
isSnapshot
(String version) static String
static String
static String
toSnapshotVersion
(String version) static String
versionlessKey
(String groupId, String artifactId) static String
versionlessKey
(Artifact artifact)
-
Constructor Details
-
ArtifactUtils
public ArtifactUtils()
-
-
Method Details
-
isSnapshot
-
toSnapshotVersion
-
versionlessKey
-
versionlessKey
-
key
-
key
-
artifactMapByVersionlessId
-
copyArtifactSafe
-
copyArtifact
-
copyArtifacts
Returnsto
collection -
copyArtifacts
-