public final class TransferUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static ArtifactCoordinate |
toArtifactCoordinate(Artifact artifact) |
static ArtifactCoordinate |
toArtifactCoordinate(org.apache.maven.model.Extension extension)
Special case: an extension is always of type
jar, so can be transformed to an ArtifactCoordinate. |
static ArtifactCoordinate |
toArtifactCoordinate(org.apache.maven.model.Parent parent)
Special case: a parent is always of type
pom, so can be transformed to an ArtifactCoordinate. |
static ArtifactCoordinate |
toArtifactCoordinate(org.apache.maven.model.Plugin plugin)
Special case: a plugin is always of type
jar, so can be transformed to an ArtifactCoordinate. |
static ArtifactCoordinate |
toArtifactCoordinate(org.apache.maven.model.ReportPlugin plugin)
Special case: a reportPlugin is always of type
jar, so can be transformed to an ArtifactCoordinate. |
public static ArtifactCoordinate toArtifactCoordinate(Artifact artifact)
artifact - ArtifactArtifactCoordinatepublic static ArtifactCoordinate toArtifactCoordinate(org.apache.maven.model.Extension extension)
jar, so can be transformed to an ArtifactCoordinate.extension - ExtensionArtifactCoordinatepublic static ArtifactCoordinate toArtifactCoordinate(org.apache.maven.model.Parent parent)
pom, so can be transformed to an ArtifactCoordinate.parent - ParentArtifactCoordinatepublic static ArtifactCoordinate toArtifactCoordinate(org.apache.maven.model.Plugin plugin)
jar, so can be transformed to an ArtifactCoordinate.plugin - PluginArtifactCoordinatepublic static ArtifactCoordinate toArtifactCoordinate(org.apache.maven.model.ReportPlugin plugin)
jar, so can be transformed to an ArtifactCoordinate.plugin - ReportPluginArtifactCoordinateCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.