Class ArtifactUtils
java.lang.Object
org.apache.maven.artifact.ArtifactUtils
ArtifactUtils
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionartifactMapByVersionlessId(Collection<Artifact> artifacts) static ArtifactcopyArtifact(Artifact artifact) static <T extends Collection<Artifact>>
 TcopyArtifacts(Collection<Artifact> from, T to) Copy artifact to a collection.copyArtifacts(Map<K, ? extends Artifact> from, T to) static ArtifactcopyArtifactSafe(Artifact artifact) static booleanisSnapshot(String version) static Stringstatic Stringstatic StringtoSnapshotVersion(String version) static StringversionlessKey(String groupId, String artifactId) static StringversionlessKey(Artifact artifact) 
- 
Constructor Details- 
ArtifactUtilspublic ArtifactUtils()
 
- 
- 
Method Details- 
isSnapshot
- 
toSnapshotVersion
- 
versionlessKey
- 
versionlessKey
- 
key
- 
key
- 
artifactMapByVersionlessId
- 
copyArtifactSafe
- 
copyArtifact
- 
copyArtifactsCopy artifact to a collection.- Type Parameters:
- T- the target collection type
- Parameters:
- from- an artifact collection
- to- the target artifact collection
- Returns:
- tocollection
 
- 
copyArtifacts
 
-