|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.maven.model.ModelBase
null
| Constructor Summary | |
ModelBase()
|
|
| Method Summary | |
void |
addDependency(Dependency dependency)
Method addDependency |
void |
addModule(java.lang.String string)
Method addModule |
void |
addPluginRepository(Repository repository)
Method addPluginRepository |
void |
addProperty(java.lang.String key,
java.lang.String value)
Method addProperty |
void |
addRepository(Repository repository)
Method addRepository |
java.util.List |
getDependencies()
Method getDependencies |
DependencyManagement |
getDependencyManagement()
Get Default dependency information for grouped projects inheriting from this one. |
DistributionManagement |
getDistributionManagement()
Get Distribution information for a project. |
java.lang.String |
getModelEncoding()
|
java.util.List |
getModules()
Method getModules |
java.util.List |
getPluginRepositories()
Method getPluginRepositories |
java.util.Properties |
getProperties()
Method getProperties |
Reporting |
getReporting()
Get This element includes the specification of reports to be included in a Maven-generated site. |
java.lang.Object |
getReports()
Get NOT A VALID ELEMENT. |
java.util.List |
getRepositories()
Method getRepositories |
void |
removeDependency(Dependency dependency)
Method removeDependency |
void |
removeModule(java.lang.String string)
Method removeModule |
void |
removePluginRepository(Repository repository)
Method removePluginRepository |
void |
removeRepository(Repository repository)
Method removeRepository |
void |
setDependencies(java.util.List dependencies)
Set |
void |
setDependencyManagement(DependencyManagement dependencyManagement)
Set Default dependency information for grouped projects inheriting from this one. |
void |
setDistributionManagement(DistributionManagement distributionManagement)
Set Distribution information for a project. |
void |
setModelEncoding(java.lang.String modelEncoding)
|
void |
setModules(java.util.List modules)
Set The modules to build in addition to the current project |
void |
setPluginRepositories(java.util.List pluginRepositories)
Set The lists of the remote repositories for discovering plugins |
void |
setProperties(java.util.Properties properties)
Set Properties used to fill in plugin configuration |
void |
setReporting(Reporting reporting)
Set This element includes the specification of reports to be included in a Maven-generated site. |
void |
setReports(java.lang.Object reports)
Set NOT A VALID ELEMENT. |
void |
setRepositories(java.util.List repositories)
Set The lists of the remote repositories |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ModelBase()
| Method Detail |
public void addDependency(Dependency dependency)
dependency - public void addModule(java.lang.String string)
string - public void addPluginRepository(Repository repository)
repository -
public void addProperty(java.lang.String key,
java.lang.String value)
key - value - public void addRepository(Repository repository)
repository - public java.util.List getDependencies()
public DependencyManagement getDependencyManagement()
public DistributionManagement getDistributionManagement()
public java.util.List getModules()
public java.util.List getPluginRepositories()
public java.util.Properties getProperties()
public Reporting getReporting()
maven site.
All of the
reports will be included in the navigation bar
for browsing in
the order they are specified.
public java.lang.Object getReports()
public java.util.List getRepositories()
public void removeDependency(Dependency dependency)
dependency - public void removeModule(java.lang.String string)
string - public void removePluginRepository(Repository repository)
repository - public void removeRepository(Repository repository)
repository - 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 setDependencyManagement(DependencyManagement dependencyManagement)
dependencyManagement - public void setDistributionManagement(DistributionManagement distributionManagement)
distributionManagement - public void setModules(java.util.List modules)
modules - public void setPluginRepositories(java.util.List pluginRepositories)
pluginRepositories - public void setProperties(java.util.Properties properties)
properties - public void setReporting(Reporting reporting)
maven site.
All of the
reports will be included in the navigation bar
for browsing in
the order they are specified.
reporting - public void setReports(java.lang.Object reports)
reports - public void setRepositories(java.util.List repositories)
repositories - 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 | ||||||||||