|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.project.Dependency
null
Field Summary | |
private java.lang.String |
artifactId
Field artifactId |
private java.lang.String |
groupId
Field groupId |
private java.lang.String |
id
Field id |
private java.lang.String |
jar
Field jar |
private java.lang.String |
modelEncoding
|
private java.util.Properties |
properties
Field properties |
private java.lang.String |
type
Field type |
private java.lang.String |
url
Field url |
private java.lang.String |
version
Field version |
Constructor Summary | |
Dependency()
|
Method Summary | |
void |
addProperty(java.lang.String key,
java.lang.String value)
Method addProperty |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getArtifact()
|
java.lang.String |
getArtifactDirectory()
|
java.lang.String |
getArtifactId()
Get The unique id for an artifact produced by the project group, e.g. |
java.lang.String |
getExtension()
|
java.lang.String |
getGroupId()
Get The project group that produced the dependency, e.g. |
java.lang.String |
getId()
Get |
java.lang.String |
getJar()
Get Literal name of the artifact. |
java.lang.String |
getKey()
|
java.lang.String |
getModelEncoding()
|
java.util.Properties |
getProperties()
Method getProperties |
java.lang.String |
getProperty(java.lang.String property)
|
java.lang.String |
getType()
Get The type of dependency. |
java.lang.String |
getTypeDirectory()
|
java.lang.String |
getUrl()
Get This url will be provided to the user if the jar file cannot be downloaded from the central repository. |
java.lang.String |
getVersion()
Get The version of the dependency, e.g. |
int |
hashCode()
|
boolean |
isAddedToClasspath()
|
boolean |
isPlugin()
|
void |
setArtifactId(java.lang.String artifactId)
Set The unique id for an artifact produced by the project group, e.g. |
void |
setGroupId(java.lang.String groupId)
Set The project group that produced the dependency, e.g. |
void |
setId(java.lang.String id)
Set |
void |
setJar(java.lang.String jar)
Set Literal name of the artifact. |
void |
setModelEncoding(java.lang.String modelEncoding)
|
void |
setProperties(java.util.Properties properties)
Set Properties about the dependency. |
void |
setType(java.lang.String type)
Set The type of dependency. |
void |
setUrl(java.lang.String url)
Set This url will be provided to the user if the jar file cannot be downloaded from the central repository. |
void |
setVersion(java.lang.String version)
Set The version of the dependency, e.g. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String id
private java.lang.String groupId
private java.lang.String artifactId
private java.lang.String version
private java.lang.String url
private java.lang.String jar
private java.lang.String type
private java.util.Properties properties
private java.lang.String modelEncoding
Constructor Detail |
public Dependency()
Method Detail |
public void addProperty(java.lang.String key, java.lang.String value)
key
- value
- public java.lang.String getArtifactId()
germonimo-jms
public java.lang.String getGroupId()
geronimo
.
public java.lang.String getId()
The name of the dependency.
Note: The use of the id
element for
a dependency is deprecated. Please use
groupId
and
artifactId
together instead.
public java.lang.String getJar()
public java.util.Properties getProperties()
public java.lang.String getType()
jar
.
Known recognised dependency types are:
jar
ejb
plugin
public java.lang.String getUrl()
public java.lang.String getVersion()
3.2.1
public void setArtifactId(java.lang.String artifactId)
germonimo-jms
artifactId
- public void setGroupId(java.lang.String groupId)
geronimo
.
groupId
- public void setId(java.lang.String id)
The name of the dependency.
Note: The use of the id
element for
a dependency is deprecated. Please use
groupId
and
artifactId
together instead.
id
- public void setJar(java.lang.String jar)
jar
- public void setProperties(java.util.Properties properties)
mark
dependencies with properties.
For example the
war plugin
looks for a
war.bundle
property, and if found
will include the
dependency in WEB-INF/lib
. For
example syntax, check
the war plugin docs.
properties
- public void setType(java.lang.String type)
jar
.
Known recognised dependency types are:
jar
ejb
plugin
type
- public void setUrl(java.lang.String url)
url
- public void setVersion(java.lang.String version)
3.2.1
version
- public java.lang.String toString()
public java.lang.String getKey()
public java.lang.String getArtifactDirectory()
public java.lang.String getArtifact()
public java.lang.String getTypeDirectory()
public java.lang.String getExtension()
public boolean isAddedToClasspath()
public boolean isPlugin()
public java.lang.String getProperty(java.lang.String property)
public boolean equals(java.lang.Object o)
public int hashCode()
public void setModelEncoding(java.lang.String modelEncoding)
public java.lang.String getModelEncoding()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |