| 
||||||||||
| 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(String string)
Method addModule.  | 
 void | 
addPluginRepository(Repository repository)
Method addPluginRepository.  | 
 void | 
addProperty(String key,
            String value)
Method addProperty.  | 
 void | 
addRepository(Repository repository)
Method addRepository.  | 
 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.  | 
 String | 
getModelEncoding()
 | 
 List | 
getModules()
Method getModules.  | 
 List | 
getPluginRepositories()
Method getPluginRepositories.  | 
 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.  | 
 Object | 
getReports()
Get Deprecated.  | 
 List | 
getRepositories()
Method getRepositories.  | 
 void | 
removeDependency(Dependency dependency)
Method removeDependency.  | 
 void | 
removeModule(String string)
Method removeModule.  | 
 void | 
removePluginRepository(Repository repository)
Method removePluginRepository.  | 
 void | 
removeRepository(Repository repository)
Method removeRepository.  | 
 void | 
setDependencies(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(String modelEncoding)
Set an encoding used for reading/writing the model.  | 
 void | 
setModules(List modules)
Set the modules (sometimes called subprojects) to build as a part of this project.  | 
 void | 
setPluginRepositories(List pluginRepositories)
Set the lists of the remote repositories for discovering plugins for builds and reports.  | 
 void | 
setProperties(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(Object reports)
Set Deprecated.  | 
 void | 
setRepositories(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(String string)
string - public void addPluginRepository(Repository repository)
repository - 
public void addProperty(String key,
                        String value)
key - value - public void addRepository(Repository repository)
repository - public List getDependencies()
public DependencyManagement getDependencyManagement()
public DistributionManagement getDistributionManagement()
public List getModules()
public List getPluginRepositories()
public Properties getProperties()
public Reporting getReporting()
mvn site.
             All of the reports will be included in the
 navigation bar for browsing.
public Object getReports()
public List getRepositories()
public void removeDependency(Dependency dependency)
dependency - public void removeModule(String string)
string - public void removePluginRepository(Repository repository)
repository - public void removeRepository(Repository repository)
repository - public void setDependencies(List dependencies)
dependencies - public void setDependencyManagement(DependencyManagement dependencyManagement)
dependencyManagement - public void setDistributionManagement(DistributionManagement distributionManagement)
distributionManagement - public void setModules(List modules)
modules - public void setPluginRepositories(List pluginRepositories)
pluginRepositories - public void setProperties(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(Object reports)
reports - public void setRepositories(List repositories)
repositories - public void setModelEncoding(String modelEncoding)
modelEncoding - the encoding used when reading/writing the model.public String getModelEncoding()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||