org.jboss.maven.plugins.thirdparty
Class Dependency
java.lang.Object
org.apache.maven.model.Dependency
org.jboss.maven.plugins.thirdparty.Dependency
- All Implemented Interfaces:
- java.io.Serializable
public class Dependency
- extends org.apache.maven.model.Dependency
A Dependency mapping between maven dependencies and third party dependencies.
- Version:
- $Revision: 97 $
- Author:
- Paul Gier
- See Also:
- Serialized Form
| Methods inherited from class org.apache.maven.model.Dependency |
addExclusion, getArtifactId, getClassifier, getExclusions, getGroupId, getManagementKey, getScope, getSystemPath, getType, getVersion, isOptional, removeExclusion, setArtifactId, setClassifier, setExclusions, setGroupId, setOptional, setScope, setSystemPath, setType, setVersion, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Dependency
public Dependency()
Dependency
public Dependency(org.apache.maven.artifact.Artifact artifact)
getMapping
public Mapping getMapping()
setMapping
public void setMapping(Mapping mapping)
getComponentId
public java.lang.String getComponentId()
setComponentId
public void setComponentId(java.lang.String componentId)
getComponentVersion
public java.lang.String getComponentVersion()
getCompArtifactId
public java.lang.String getCompArtifactId()
equals
public boolean equals(java.lang.Object dependency)
- Overrides:
equals in class java.lang.Object
getResolutionId
public java.lang.String getResolutionId()
- Get an id for determining the appropriate thirdparty artifact
- Returns:
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
isExportArtifact
public boolean isExportArtifact()
- Determines whether the artifact should be in the list of exports
in the component-info.xml file.
- Returns:
setExportArtifact
public void setExportArtifact(boolean exportArtifact)
Copyright © 2007-2008 JBoss Inc.. All Rights Reserved.