|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.model.ModelBase
null
Field Summary | |
private java.util.List |
dependencies
These should ultimately only be compile time dependencies when transitive dependencies come into play. |
private java.lang.String |
modelEncoding
|
Constructor Summary | |
ModelBase()
|
Method Summary | |
void |
addDependency(Dependency dependency)
Method addDependency |
java.util.List |
getDependencies()
Method getDependencies |
java.lang.String |
getModelEncoding()
|
void |
removeDependency(Dependency dependency)
Method removeDependency |
void |
setDependencies(java.util.List dependencies)
Set |
void |
setModelEncoding(java.lang.String modelEncoding)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.List dependencies
private java.lang.String modelEncoding
Constructor Detail |
public ModelBase()
Method Detail |
public void addDependency(Dependency dependency)
dependency
- public java.util.List getDependencies()
public void removeDependency(Dependency dependency)
dependency
- public void setDependencies(java.util.List dependencies)
This element describes all of the dependencies
associated with a
project. Each dependency is described by a
dependency
element, which is then
described by
additional elements (described below).
These dependencies are used to construct a classpath for your project during the build process.
Maven can automatically download these dependencies from a remote repository.
The filename that Maven downloads from the
repository is
artifactId-version.jar
where
artifactId
corresponds to the artifactId
element and
version
corresponds to the
version
element.
When Maven goes looking for a dependency in the remote repository, it uses the dependency element to construct the URL to download from. This URL is defined as:
${repo}/${groupId}/${type}s/${artifactId}-${version}.${type}
Where
${maven.repo.remote}
dependencies
- 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 |