public class DependencyUtilities extends Object
Dependency objects.| Modifier and Type | Method and Description |
|---|---|
static org.apache.maven.artifact.Artifact |
buildArtifact(org.apache.maven.artifact.Artifact parentArtifact,
org.apache.maven.model.Dependency dependency)
This method builds a new
Artifact from a Dependency. |
static String |
toString(org.apache.maven.model.Dependency dependency)
This method returns a string representing the
Dependency given as
parameter. |
public static String toString(org.apache.maven.model.Dependency dependency)
Dependency given as
parameter.dependency - is the Dependency to be named.String is returned containing the name.public static org.apache.maven.artifact.Artifact buildArtifact(org.apache.maven.artifact.Artifact parentArtifact,
org.apache.maven.model.Dependency dependency)
Artifact from a Dependency.parentArtifact - is a parent Artifact which is used to get an
ArtifactHandler from.dependency - is the Dependency object whose information is to be
used to build a new artifact.Artifact is returned build from the Dependency
parameter.Copyright © 2013–2015 PureSol Technologies. All rights reserved.