public class ModelBase extends Objectimplements Serializable , Cloneable , InputLocationTracker
Model and the
Profile objects.
| Constructor and Description |
|---|
ModelBase()
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDependency(Dependency
Method addDependency.
|
void |
addModule(String
Method addModule.
|
void |
addPluginRepository(Repository
Method addPluginRepository.
|
void |
addProperty(String
Method addProperty.
|
void |
addRepository(Repository
Method addRepository.
|
ModelBase |
clone()
Method clone.
|
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.
|
InputLocation |
getLocation(Object
Gets the location of the specified field in the input source.
|
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
Method removeDependency.
|
void |
removeModule(String
Method removeModule.
|
void |
removePluginRepository(Repository
Method removePluginRepository.
|
void |
removeRepository(Repository
Method removeRepository.
|
void |
setDependencies(List
Set this element describes all of the dependencies associated with a project.
|
void |
setDependencyManagement(DependencyManagement
Set default dependency information for projects that inherit from this one.
|
void |
setDistributionManagement(DistributionManagement
Set distribution information for a project that enables deployment of the site and artifacts to remote web servers and repositories respectively.
|
void |
setLocation(Object
Sets the location of the specified field.
|
void |
setModules(List
Set the modules (sometimes called subprojects) to build as a part of this project.
|
void |
setPluginRepositories(List
Set the lists of the remote repositories for discovering plugins for builds and reports.
|
void |
setProperties(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
Set this element includes the specification of report plugins to use to generate the reports on the Maven-generated site.
|
void |
setReports(Object
Set
Deprecated.
|
void |
setRepositories(List
Set the lists of the remote repositories for discovering dependencies and extensions.
|
public void addDependency(Dependencydependency)
dependency -
public void addModule(Stringstring)
string -
public void addPluginRepository(Repositoryrepository)
repository -
public void addProperty(Stringkey, String value)
key -
value -
public void addRepository(Repositoryrepository)
repository -
public List<Dependency > getDependencies()
public DependencyManagementgetDependencyManagement()
public DistributionManagementgetDistributionManagement()
public InputLocationgetLocation(Object key)
InputLocationTracker
getLocation in interface
InputLocationTracker
key -
public List<Repository > getPluginRepositories()
public PropertiesgetProperties()
public ReportinggetReporting()
mvn site. All of the reports will be included in the navigation bar for browsing.
public ObjectgetReports()
public List<Repository > getRepositories()
public void removeDependency(Dependencydependency)
dependency -
public void removeModule(Stringstring)
string -
public void removePluginRepository(Repositoryrepository)
repository -
public void removeRepository(Repositoryrepository)
repository -
public void setDependencies(List<Dependency > dependencies)
dependencies -
public void setDependencyManagement(DependencyManagementdependencyManagement)
dependencyManagement -
public void setDistributionManagement(DistributionManagementdistributionManagement)
distributionManagement -
public void setLocation(Objectkey, InputLocation location)
InputLocationTracker
setLocation in interface
InputLocationTracker
key -
location -
public void setModules(List<String > modules)
modules -
public void setPluginRepositories(List<Repository > pluginRepositories)
pluginRepositories -
public void setProperties(Propertiesproperties)
<name>value</name>.
properties -
public void setReporting(Reportingreporting)
mvn site. All of the reports will be included in the navigation bar for browsing.
reporting -
public void setReports(Objectreports)
reports -
public void setRepositories(List<Repository > repositories)
repositories -