Class TransferUtils
java.lang.Object
org.apache.maven.shared.transfer.artifact.TransferUtils
Utility class
- Author:
- Robert Scholte
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArtifactCoordinatetoArtifactCoordinate(org.apache.maven.artifact.Artifact artifact) static ArtifactCoordinatetoArtifactCoordinate(org.apache.maven.model.Extension extension) Special case: an extension is always of typejar, so can be transformed to an ArtifactCoordinate.static ArtifactCoordinatetoArtifactCoordinate(org.apache.maven.model.Parent parent) Special case: a parent is always of typepom, so can be transformed to an ArtifactCoordinate.static ArtifactCoordinatetoArtifactCoordinate(org.apache.maven.model.Plugin plugin) Special case: a plugin is always of typejar, so can be transformed to an ArtifactCoordinate.static ArtifactCoordinatetoArtifactCoordinate(org.apache.maven.model.ReportPlugin plugin) Special case: a reportPlugin is always of typejar, so can be transformed to an ArtifactCoordinate.
-
Method Details
-
toArtifactCoordinate
- Parameters:
artifact-Artifact- Returns:
ArtifactCoordinate
-
toArtifactCoordinate
Special case: an extension is always of typejar, so can be transformed to an ArtifactCoordinate.- Parameters:
extension-Extension- Returns:
ArtifactCoordinate
-
toArtifactCoordinate
Special case: a parent is always of typepom, so can be transformed to an ArtifactCoordinate.- Parameters:
parent-Parent- Returns:
ArtifactCoordinate
-
toArtifactCoordinate
Special case: a plugin is always of typejar, so can be transformed to an ArtifactCoordinate.- Parameters:
plugin-Plugin- Returns:
ArtifactCoordinate
-
toArtifactCoordinate
Special case: a reportPlugin is always of typejar, so can be transformed to an ArtifactCoordinate.- Parameters:
plugin-ReportPlugin- Returns:
ArtifactCoordinate
-