|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.model.ModelBase
public class ModelBase
Base class for the Model
and the
Profile
objects.
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 projects that inherit from this one. |
DistributionManagement |
getDistributionManagement()
Get Distribution information for a project that enables deployment of the site and artifacts to remote web servers and repositories respectively. |
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 report plugins to use to generate the reports on the Maven-generated site. |
java.lang.Object |
getReports()
Get Deprecated. |
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 This element describes all of the dependencies associated with a project. |
void |
setDependencyManagement(DependencyManagement dependencyManagement)
Set Default dependency information for projects that inherit from this one. |
void |
setDistributionManagement(DistributionManagement distributionManagement)
Set Distribution information for a project that enables deployment of the site and artifacts to remote web servers and repositories respectively. |
void |
setModelEncoding(java.lang.String modelEncoding)
|
void |
setModules(java.util.List modules)
Set The modules (sometimes called subprojects) to build as a part of this project. |
void |
setPluginRepositories(java.util.List pluginRepositories)
Set The lists of the remote repositories for discovering plugins for builds and reports. |
void |
setProperties(java.util.Properties properties)
Set Properties that can be used throughout the POM as a substitution, and are used as filters in resources if enabled. |
void |
setReporting(Reporting reporting)
Set This element includes the specification of report plugins to use to generate the reports on the Maven-generated site. |
void |
setReports(java.lang.Object reports)
Set Deprecated. |
void |
setRepositories(java.util.List repositories)
Set The lists of the remote repositories for discovering dependencies and extensions. |
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()
mvn site
.
All of the reports will be included in the
navigation bar for browsing.
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)
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)
<name>value</name>
.
properties
- public void setReporting(Reporting reporting)
mvn site
.
All of the reports will be included in the
navigation bar for browsing.
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 |