public class Dependency
extends org.apache.maven.model.Dependency
Constructor and Description |
---|
Dependency() |
Dependency(org.apache.maven.artifact.Artifact artifact) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object dependency) |
String |
getCompArtifactId() |
String |
getComponentId() |
String |
getComponentVersion() |
Mapping |
getMapping() |
String |
getResolutionId()
Get an id for determining the appropriate thirdparty artifact
|
int |
hashCode() |
boolean |
isExportArtifact()
Determines whether the artifact should be in the list of exports
in the component-info.xml file.
|
void |
setComponentId(String componentId) |
void |
setExportArtifact(boolean exportArtifact) |
void |
setMapping(Mapping mapping) |
addExclusion, getArtifactId, getClassifier, getExclusions, getGroupId, getManagementKey, getScope, getSystemPath, getType, getVersion, isOptional, removeExclusion, setArtifactId, setClassifier, setExclusions, setGroupId, setOptional, setScope, setSystemPath, setType, setVersion, toString
public Dependency()
public Dependency(org.apache.maven.artifact.Artifact artifact)
public Mapping getMapping()
public void setMapping(Mapping mapping)
public String getComponentId()
public void setComponentId(String componentId)
public String getComponentVersion()
public String getCompArtifactId()
public String getResolutionId()
public boolean isExportArtifact()
public void setExportArtifact(boolean exportArtifact)
Copyright © 2007-2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.