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
- Artifact
ArtifactCoordinate
public static ArtifactCoordinate toArtifactCoordinate(org.apache.maven.model.Extension extension)
jar
, so can be transformed to an ArtifactCoordinate.extension
- Extension
ArtifactCoordinate
public static ArtifactCoordinate toArtifactCoordinate(org.apache.maven.model.Parent parent)
pom
, so can be transformed to an ArtifactCoordinate.parent
- Parent
ArtifactCoordinate
public static ArtifactCoordinate toArtifactCoordinate(org.apache.maven.model.Plugin plugin)
jar
, so can be transformed to an ArtifactCoordinate.plugin
- Plugin
ArtifactCoordinate
public static ArtifactCoordinate toArtifactCoordinate(org.apache.maven.model.ReportPlugin plugin)
jar
, so can be transformed to an ArtifactCoordinate.plugin
- ReportPlugin
ArtifactCoordinate
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.