Serialized Form
-
Package org.apache.maven.model
-
Class org.apache.maven.model.Activation
class Activation extends Object implements Serializable-
Serialized Fields
-
activeByDefault
boolean activeByDefault
If set to true, this profile will be active unless another profile in this pom is activated using the command line -P option or by one of that profile's activators. -
activeByDefaultLocation
InputLocation activeByDefaultLocation
Field activeByDefaultLocation. -
file
ActivationFile file
Specifies that this profile will be activated based on existence of a file. -
fileLocation
InputLocation fileLocation
Field fileLocation. -
jdk
String jdk
Specifies that this profile will be activated when a matching JDK is detected. For example,1.4
only activates on JDKs versioned 1.4, while!1.4
matches any JDK that is not version 1.4. Ranges are supported too:[1.5,)
activates when the JDK is 1.5 minimum. -
jdkLocation
InputLocation jdkLocation
Field jdkLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
os
ActivationOS os
Specifies that this profile will be activated when matching operating system attributes are detected. -
osLocation
InputLocation osLocation
Field osLocation. -
property
ActivationProperty property
Specifies that this profile will be activated when this property is specified. -
propertyLocation
InputLocation propertyLocation
Field propertyLocation.
-
-
-
Class org.apache.maven.model.ActivationFile
class ActivationFile extends Object implements Serializable-
Serialized Fields
-
exists
String exists
The name of the file that must exist to activate the profile. -
existsLocation
InputLocation existsLocation
Field existsLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
missing
String missing
The name of the file that must be missing to activate the profile. -
missingLocation
InputLocation missingLocation
Field missingLocation.
-
-
-
Class org.apache.maven.model.ActivationOS
class ActivationOS extends Object implements Serializable-
Serialized Fields
-
arch
String arch
The architecture of the operating system to be used to activate the profile. -
archLocation
InputLocation archLocation
Field archLocation. -
family
String family
The general family of the OS to be used to activate the profile, such aswindows
orunix
. -
familyLocation
InputLocation familyLocation
Field familyLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
name
String name
The name of the operating system to be used to activate the profile. This must be an exact match of the${os.name}
Java property, such asWindows XP
. -
nameLocation
InputLocation nameLocation
Field nameLocation. -
version
String version
The version of the operating system to be used to activate the profile. -
versionLocation
InputLocation versionLocation
Field versionLocation.
-
-
-
Class org.apache.maven.model.ActivationProperty
class ActivationProperty extends Object implements Serializable-
Serialized Fields
-
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
name
String name
The name of the property to be used to activate a profile. -
nameLocation
InputLocation nameLocation
Field nameLocation. -
value
String value
The value of the property required to activate a profile. -
valueLocation
InputLocation valueLocation
Field valueLocation.
-
-
-
Class org.apache.maven.model.Build
class Build extends BuildBase implements Serializable-
Serialized Fields
-
extensions
List<Extension> extensions
Field extensions. -
outputDirectory
String outputDirectory
The directory where compiled application classes are placed. The default value istarget/classes
. -
scriptSourceDirectory
String scriptSourceDirectory
This element specifies a directory containing the script sources of the project. This directory is meant to be different from the sourceDirectory, in that its contents will be copied to the output directory in most cases (since scripts are interpreted rather than compiled). The default value issrc/main/scripts
. -
sourceDirectory
String sourceDirectory
This element specifies a directory containing the source of the project. The generated build system will compile the sources from this directory when the project is built. The path given is relative to the project descriptor. The default value issrc/main/java
. -
testOutputDirectory
String testOutputDirectory
The directory where compiled test classes are placed. The default value istarget/test-classes
. -
testSourceDirectory
String testSourceDirectory
This element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor. The default value issrc/test/java
.
-
-
-
Class org.apache.maven.model.BuildBase
class BuildBase extends PluginConfiguration implements Serializable-
Serialized Fields
-
defaultGoal
String defaultGoal
The default goal (or phase in Maven 2) to execute when none is specified for the project. Note that in case of a multi-module build, only the default goal of the top-level project is relevant, i.e. the default goals of child modules are ignored. Since Maven 3, multiple goals/phases can be separated by whitespace. -
directory
String directory
The directory where all files generated by the build are placed. The default value istarget
. -
filters
List<String> filters
Field filters. -
finalName
String finalName
The filename (excluding the extension, and with no path information) that the produced artifact will be called. The default value is${artifactId}-${version}
. -
resources
List<Resource> resources
Field resources. -
testResources
List<Resource> testResources
Field testResources.
-
-
-
Class org.apache.maven.model.CiManagement
class CiManagement extends Object implements Serializable-
Serialized Fields
-
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
notifiers
List<Notifier> notifiers
Field notifiers. -
notifiersLocation
InputLocation notifiersLocation
Field notifiersLocation. -
system
String system
The name of the continuous integration system, e.g.continuum
. -
systemLocation
InputLocation systemLocation
Field systemLocation. -
url
String url
URL for the continuous integration system used by the project if it has a web interface. -
urlLocation
InputLocation urlLocation
Field urlLocation.
-
-
-
Class org.apache.maven.model.ConfigurationContainer
class ConfigurationContainer extends Object implements Serializable-
Serialized Fields
-
configuration
Object configuration
The configuration as DOM object.
By default, every element content is trimmed, but starting with Maven 3.1.0, you can add
xml:space="preserve"
to elements you want to preserve whitespace.You can control how child POMs inherit configuration from parent POMs by adding
combine.children
orcombine.self
attributes to the children of the configuration element:combine.children
: available values aremerge
(default) andappend
,combine.self
: available values aremerge
(default) andoverride
.
See POM Reference documentation and Xpp3DomUtils for more information.
-
configurationLocation
InputLocation configurationLocation
Field configurationLocation. -
inheritanceApplied
boolean inheritanceApplied
-
inherited
String inherited
Whether any configuration should be propagated to child POMs. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value istrue
. -
inheritedLocation
InputLocation inheritedLocation
Field inheritedLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations.
-
-
-
Class org.apache.maven.model.Contributor
class Contributor extends Object implements Serializable-
Serialized Fields
-
email
String email
The email address of the contributor. -
emailLocation
InputLocation emailLocation
Field emailLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
name
String name
The full name of the contributor. -
nameLocation
InputLocation nameLocation
Field nameLocation. -
organization
String organization
The organization to which the contributor belongs. -
organizationLocation
InputLocation organizationLocation
Field organizationLocation. -
organizationUrl
String organizationUrl
The URL of the organization. -
organizationUrlLocation
InputLocation organizationUrlLocation
Field organizationUrlLocation. -
properties
Properties properties
Field properties. -
propertiesLocation
InputLocation propertiesLocation
Field propertiesLocation. -
roles
List<String> roles
Field roles. -
rolesLocation
InputLocation rolesLocation
Field rolesLocation. -
timezone
String timezone
-
timezoneLocation
InputLocation timezoneLocation
Field timezoneLocation. -
url
String url
The URL for the homepage of the contributor. -
urlLocation
InputLocation urlLocation
Field urlLocation.
-
-
-
Class org.apache.maven.model.Dependency
class Dependency extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The unique id for an artifact produced by the project group, e.g.maven-artifact
. -
artifactIdLocation
InputLocation artifactIdLocation
Field artifactIdLocation. -
classifier
String classifier
The classifier of the dependency. It is appended to the filename after the version. This allows:- referring to attached artifact, for example
sources
andjavadoc
: see default artifact handlers for a list, - distinguishing two artifacts
that belong to the same POM but were built
differently.
For example,
jdk14
andjdk15
.
- referring to attached artifact, for example
-
classifierLocation
InputLocation classifierLocation
Field classifierLocation. -
exclusions
List<Exclusion> exclusions
Field exclusions. -
exclusionsLocation
InputLocation exclusionsLocation
Field exclusionsLocation. -
groupId
String groupId
The project group that produced the dependency, e.g.org.apache.maven
. -
groupIdLocation
InputLocation groupIdLocation
Field groupIdLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
managementKey
String managementKey
-
optional
String optional
Indicates the dependency is optional for use of this library. While the version of the dependency will be taken into account for dependency calculation if the library is used elsewhere, it will not be passed on transitively. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value isfalse
. -
optionalLocation
InputLocation optionalLocation
Field optionalLocation. -
scope
String scope
The scope of the dependency -compile
,runtime
,test
,system
, andprovided
. Used to calculate the various classpaths used for compilation, testing, and so on. It also assists in determining which artifacts to include in a distribution of this project. For more information, see the dependency mechanism. The default scope iscompile
. -
scopeLocation
InputLocation scopeLocation
Field scopeLocation. -
systemPath
String systemPath
FOR SYSTEM SCOPE ONLY. Note that use of this property is discouraged and may be replaced in later versions. This specifies the path on the filesystem for this dependency. Requires an absolute path for the value, not relative. Use a property that gives the machine specific absolute path, e.g.${java.home}
. -
systemPathLocation
InputLocation systemPathLocation
Field systemPathLocation. -
type
String type
The type of dependency, that will be mapped to a file extension, an optional classifier, and a few other attributes. Some examples arejar
,war
,ejb-client
andtest-jar
: see default artifact handlers for a list. New types can be defined by extensions, so this is not a complete list. -
typeLocation
InputLocation typeLocation
Field typeLocation. -
version
String version
The version of the dependency, e.g.3.2.1
. In Maven 2, this can also be specified as a range of versions. -
versionLocation
InputLocation versionLocation
Field versionLocation.
-
-
-
Class org.apache.maven.model.DependencyManagement
class DependencyManagement extends Object implements Serializable-
Serialized Fields
-
dependencies
List<Dependency> dependencies
Field dependencies. -
dependenciesLocation
InputLocation dependenciesLocation
Field dependenciesLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations.
-
-
-
Class org.apache.maven.model.DeploymentRepository
class DeploymentRepository extends Repository implements Serializable-
Serialized Fields
-
uniqueVersion
boolean uniqueVersion
Whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time.
-
-
-
Class org.apache.maven.model.Developer
class Developer extends Contributor implements Serializable-
Serialized Fields
-
id
String id
The unique ID of the developer in the SCM.
-
-
-
Class org.apache.maven.model.DistributionManagement
class DistributionManagement extends Object implements Serializable-
Serialized Fields
-
downloadUrl
String downloadUrl
The URL of the project's download page. If not given users will be referred to the homepage given byurl
. This is given to assist in locating artifacts that are not in the repository due to licensing restrictions. -
downloadUrlLocation
InputLocation downloadUrlLocation
Field downloadUrlLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
relocation
Relocation relocation
Relocation information of the artifact if it has been moved to a new group ID and/or artifact ID. -
relocationLocation
InputLocation relocationLocation
Field relocationLocation. -
repository
DeploymentRepository repository
Information needed to deploy the artifacts generated by the project to a remote repository. -
repositoryLocation
InputLocation repositoryLocation
Field repositoryLocation. -
site
Site site
Information needed for deploying the web site of the project. -
siteLocation
InputLocation siteLocation
Field siteLocation. -
snapshotRepository
DeploymentRepository snapshotRepository
Where to deploy snapshots of artifacts to. If not given, it defaults to therepository
element. -
snapshotRepositoryLocation
InputLocation snapshotRepositoryLocation
Field snapshotRepositoryLocation. -
status
String status
Gives the status of this artifact in the remote repository. This must not be set in your local project, as it is updated by tools placing it in the reposiory. Valid values are:none
(default),converted
(repository manager converted this from an Maven 1 POM),partner
(directly synced from a partner Maven 2 repository),deployed
(was deployed from a Maven 2 instance),verified
(has been hand verified as correct and final). -
statusLocation
InputLocation statusLocation
Field statusLocation.
-
-
-
Class org.apache.maven.model.Exclusion
class Exclusion extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact ID of the project to exclude. -
artifactIdLocation
InputLocation artifactIdLocation
Field artifactIdLocation. -
groupId
String groupId
The group ID of the project to exclude. -
groupIdLocation
InputLocation groupIdLocation
Field groupIdLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations.
-
-
-
Class org.apache.maven.model.Extension
class Extension extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact ID of the extension. -
artifactIdLocation
InputLocation artifactIdLocation
Field artifactIdLocation. -
groupId
String groupId
The group ID of the extension's artifact. -
groupIdLocation
InputLocation groupIdLocation
Field groupIdLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
version
String version
The version of the extension. -
versionLocation
InputLocation versionLocation
Field versionLocation.
-
-
-
Class org.apache.maven.model.FileSet
class FileSet extends PatternSet implements Serializable-
Serialized Fields
-
directory
String directory
Describe the directory where the resources are stored. The path is relative to the POM.
-
-
-
Class org.apache.maven.model.InputLocation
class InputLocation extends Object implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
The one-based column number. The value will be non-positive if unknown. -
lineNumber
int lineNumber
The one-based line number. The value will be non-positive if unknown. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
source
InputSource source
Field source.
-
-
-
Class org.apache.maven.model.InputSource
class InputSource extends Object implements Serializable -
Class org.apache.maven.model.IssueManagement
class IssueManagement extends Object implements Serializable-
Serialized Fields
-
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
system
String system
The name of the issue management system, e.g. Bugzilla. -
systemLocation
InputLocation systemLocation
Field systemLocation. -
url
String url
URL for the issue management system used by the project. -
urlLocation
InputLocation urlLocation
Field urlLocation.
-
-
-
Class org.apache.maven.model.License
class License extends Object implements Serializable-
Serialized Fields
-
comments
String comments
Addendum information pertaining to this license. -
commentsLocation
InputLocation commentsLocation
Field commentsLocation. -
distribution
String distribution
The primary method by which this project may be distributed.- repo
- may be downloaded from the Maven repository
- manual
- user must manually download and install the dependency.
-
distributionLocation
InputLocation distributionLocation
Field distributionLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
name
String name
The full legal name of the license. -
nameLocation
InputLocation nameLocation
Field nameLocation. -
url
String url
The official url for the license text. -
urlLocation
InputLocation urlLocation
Field urlLocation.
-
-
-
Class org.apache.maven.model.MailingList
class MailingList extends Object implements Serializable-
Serialized Fields
-
archive
String archive
The link to a URL where you can browse the mailing list archive. -
archiveLocation
InputLocation archiveLocation
Field archiveLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
name
String name
The name of the mailing list. -
nameLocation
InputLocation nameLocation
Field nameLocation. -
otherArchives
List<String> otherArchives
Field otherArchives. -
otherArchivesLocation
InputLocation otherArchivesLocation
Field otherArchivesLocation. -
post
String post
The email address or link that can be used to post to the mailing list. If this is an email address, amailto:
link will automatically be created when the documentation is created. -
postLocation
InputLocation postLocation
Field postLocation. -
subscribe
String subscribe
The email address or link that can be used to subscribe to the mailing list. If this is an email address, amailto:
link will automatically be created when the documentation is created. -
subscribeLocation
InputLocation subscribeLocation
Field subscribeLocation. -
unsubscribe
String unsubscribe
The email address or link that can be used to unsubscribe to the mailing list. If this is an email address, amailto:
link will automatically be created when the documentation is created. -
unsubscribeLocation
InputLocation unsubscribeLocation
Field unsubscribeLocation.
-
-
-
Class org.apache.maven.model.Model
class Model extends ModelBase implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The identifier for this artifact that is unique within the group given by the group ID. An artifact is something that is either produced or used by a project. Examples of artifacts produced by Maven for a project include: JARs, source and binary distributions, and WARs. -
build
Build build
Information required to build the project. -
childProjectUrlInheritAppendPath
String childProjectUrlInheritAppendPath
When children inherit from project's url, append path or not? Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
Default value is:true
Since: Maven 3.6.1 . -
ciManagement
CiManagement ciManagement
The project's continuous integration information. -
contributors
List<Contributor> contributors
Field contributors. -
description
String description
A detailed description of the project, used by Maven whenever it needs to describe the project, such as on the web site. While this element can be specified as CDATA to enable the use of HTML tags within the description, it is discouraged to allow plain text representation. If you need to modify the index page of the generated web site, you are able to specify your own instead of adjusting this text. -
developers
List<Developer> developers
Field developers. -
groupId
String groupId
A universally unique identifier for a project. It is normal to use a fully-qualified package name to distinguish it from other projects with a similar name (eg.org.apache.maven
). -
inceptionYear
String inceptionYear
The year of the project's inception, specified with 4 digits. This value is used when generating copyright notices as well as being informational. -
issueManagement
IssueManagement issueManagement
The project's issue management system information. -
licenses
List<License> licenses
Field licenses. -
mailingLists
List<MailingList> mailingLists
Field mailingLists. -
modelEncoding
String modelEncoding
Field modelEncoding. -
modelVersion
String modelVersion
Declares to which version of project descriptor this POM conforms. -
name
String name
The full name of the project. -
organization
Organization organization
This element describes various attributes of the organization to which the project belongs. These attributes are utilized when documentation is created (for copyright notices and links). -
packaging
String packaging
The type of artifact this project produces, for examplejar
war
ear
pom
. Plugins can create their own packaging, and therefore their own packaging types, so this list does not contain all possible types. -
parent
Parent parent
The location of the parent project, if one exists. Values from the parent project will be the default for this project if they are left unspecified. The location is given as a group ID, artifact ID and version. -
pomFile
File pomFile
The POM from which this model originated. This is transient runtime state and therefore not managed by Modello. -
prerequisites
Prerequisites prerequisites
Describes the prerequisites in the build environment for this project. -
profiles
List<Profile> profiles
Field profiles. -
scm
Scm scm
Specification for the SCM used by the project, such as CVS, Subversion, etc. -
url
String url
The URL to the project's homepage.
Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if project'schild.project.url.inherit.append.path="false"
-
version
String version
The current version of the artifact produced by this project.
-
-
-
Class org.apache.maven.model.ModelBase
class ModelBase extends Object implements Serializable-
Serialized Fields
-
dependencies
List<Dependency> dependencies
Field dependencies. -
dependenciesLocation
InputLocation dependenciesLocation
Field dependenciesLocation. -
dependencyManagement
DependencyManagement dependencyManagement
Default dependency information for projects that inherit from this one. The dependencies in this section are not immediately resolved. Instead, when a POM derived from this one declares a dependency described by a matching groupId and artifactId, the version and other values from this section are used for that dependency if they were not already specified. -
dependencyManagementLocation
InputLocation dependencyManagementLocation
Field dependencyManagementLocation. -
distributionManagement
DistributionManagement distributionManagement
Distribution information for a project that enables deployment of the site and artifacts to remote web servers and repositories respectively. -
distributionManagementLocation
InputLocation distributionManagementLocation
Field distributionManagementLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
modules
List<String> modules
Field modules. -
modulesLocation
InputLocation modulesLocation
Field modulesLocation. -
pluginRepositories
List<Repository> pluginRepositories
Field pluginRepositories. -
pluginRepositoriesLocation
InputLocation pluginRepositoriesLocation
Field pluginRepositoriesLocation. -
properties
Properties properties
Field properties. -
propertiesLocation
InputLocation propertiesLocation
Field propertiesLocation. -
reporting
Reporting reporting
This element includes the specification of report plugins to use to generate the reports on the Maven-generated site. These reports will be run when a user executesmvn site
. All of the reports will be included in the navigation bar for browsing. -
reportingLocation
InputLocation reportingLocation
Field reportingLocation. -
reports
Object reports
Deprecated. Now ignored by Maven. -
reportsLocation
InputLocation reportsLocation
Field reportsLocation. -
repositories
List<Repository> repositories
Field repositories. -
repositoriesLocation
InputLocation repositoriesLocation
Field repositoriesLocation.
-
-
-
Class org.apache.maven.model.Notifier
class Notifier extends Object implements Serializable-
Serialized Fields
-
address
String address
Deprecated. Where to send the notification to - eg email address. -
addressLocation
InputLocation addressLocation
Field addressLocation. -
configuration
Properties configuration
Field configuration. -
configurationLocation
InputLocation configurationLocation
Field configurationLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
sendOnError
boolean sendOnError
Whether to send notifications on error. -
sendOnErrorLocation
InputLocation sendOnErrorLocation
Field sendOnErrorLocation. -
sendOnFailure
boolean sendOnFailure
Whether to send notifications on failure. -
sendOnFailureLocation
InputLocation sendOnFailureLocation
Field sendOnFailureLocation. -
sendOnSuccess
boolean sendOnSuccess
Whether to send notifications on success. -
sendOnSuccessLocation
InputLocation sendOnSuccessLocation
Field sendOnSuccessLocation. -
sendOnWarning
boolean sendOnWarning
Whether to send notifications on warning. -
sendOnWarningLocation
InputLocation sendOnWarningLocation
Field sendOnWarningLocation. -
type
String type
The mechanism used to deliver notifications. -
typeLocation
InputLocation typeLocation
Field typeLocation.
-
-
-
Class org.apache.maven.model.Organization
class Organization extends Object implements Serializable-
Serialized Fields
-
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
name
String name
The full name of the organization. -
nameLocation
InputLocation nameLocation
Field nameLocation. -
url
String url
The URL to the organization's home page. -
urlLocation
InputLocation urlLocation
Field urlLocation.
-
-
-
Class org.apache.maven.model.Parent
class Parent extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact id of the parent project to inherit from. -
artifactIdLocation
InputLocation artifactIdLocation
Field artifactIdLocation. -
groupId
String groupId
The group id of the parent project to inherit from. -
groupIdLocation
InputLocation groupIdLocation
Field groupIdLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
relativePath
String relativePath
The relative path of the parentpom.xml
file within the check out. If not specified, it defaults to../pom.xml
. Maven looks for the parent POM first in this location on the filesystem, then the local repository, and lastly in the remote repo.relativePath
allows you to select a different location, for example when your structure is flat, or deeper without an intermediate parent POM. However, the group ID, artifact ID and version are still required, and must match the file in the location given or it will revert to the repository for the POM. This feature is only for enhancing the development in a local checkout of that project. Set the value to an empty string in case you want to disable the feature and always resolve the parent POM from the repositories. -
relativePathLocation
InputLocation relativePathLocation
Field relativePathLocation. -
version
String version
The version of the parent project to inherit. -
versionLocation
InputLocation versionLocation
Field versionLocation.
-
-
-
Class org.apache.maven.model.PatternSet
class PatternSet extends Object implements Serializable-
Serialized Fields
-
excludes
List<String> excludes
Field excludes. -
excludesLocation
InputLocation excludesLocation
Field excludesLocation. -
includes
List<String> includes
Field includes. -
includesLocation
InputLocation includesLocation
Field includesLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations.
-
-
-
Class org.apache.maven.model.Plugin
class Plugin extends ConfigurationContainer implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact ID of the plugin in the repository. -
dependencies
List<Dependency> dependencies
Field dependencies. -
executionMap
Map<String,
PluginExecution> executionMap -
executions
List<PluginExecution> executions
Field executions. -
extensions
String extensions
Whether to load Maven extensions (such as packaging and type handlers) from this plugin. For performance reasons, this should only be enabled when necessary. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value isfalse
. -
goals
Object goals
Deprecated. Unused by Maven. -
groupId
String groupId
The group ID of the plugin in the repository. -
version
String version
The version (or valid range of versions) of the plugin to be used.
-
-
-
Class org.apache.maven.model.PluginConfiguration
class PluginConfiguration extends PluginContainer implements Serializable-
Serialized Fields
-
pluginManagement
PluginManagement pluginManagement
Default plugin information to be made available for reference by projects derived from this one. This plugin configuration will not be resolved or bound to the lifecycle unless referenced. Any local configuration for a given plugin will override the plugin's entire definition here.
-
-
-
Class org.apache.maven.model.PluginContainer
class PluginContainer extends Object implements Serializable-
Serialized Fields
-
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
pluginMap
Map<String,
Plugin> pluginMap -
plugins
List<Plugin> plugins
Field plugins. -
pluginsLocation
InputLocation pluginsLocation
Field pluginsLocation.
-
-
-
Class org.apache.maven.model.PluginExecution
class PluginExecution extends ConfigurationContainer implements Serializable-
Serialized Fields
-
goals
List<String> goals
Field goals. -
id
String id
The identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection. -
phase
String phase
The build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default phase specified by the plugin. -
priority
int priority
The priority of this execution compared to other executions which are bound to the same phase. Warning: This is an internal utility property that is only public for technical reasons, it is not part of the public API. In particular, this property can be changed or deleted without prior notice.
-
-
-
Class org.apache.maven.model.PluginManagement
class PluginManagement extends PluginContainer implements Serializable -
Class org.apache.maven.model.Prerequisites
class Prerequisites extends Object implements Serializable-
Serialized Fields
-
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
maven
String maven
For a plugin project (packaging ismaven-plugin
), the minimum version of Maven required to use the resulting plugin.
In Maven 2, this was also specifying the minimum version of Maven required to build a project, but this usage is deprecated in Maven 3 and not checked any more: use the Maven Enforcer Plugin'srequireMavenVersion
rule instead. -
mavenLocation
InputLocation mavenLocation
Field mavenLocation.
-
-
-
Class org.apache.maven.model.Profile
class Profile extends ModelBase implements Serializable-
Serialized Fields
-
activation
Activation activation
The conditional logic which will automatically trigger the inclusion of this profile. -
build
BuildBase build
Information required to build the project. -
id
String id
The identifier of this build profile. This is used for command line activation, and identifies profiles to be merged. -
source
String source
-
-
-
Class org.apache.maven.model.Relocation
class Relocation extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The new artifact ID of the artifact. -
artifactIdLocation
InputLocation artifactIdLocation
Field artifactIdLocation. -
groupId
String groupId
The group ID the artifact has moved to. -
groupIdLocation
InputLocation groupIdLocation
Field groupIdLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
message
String message
An additional message to show the user about the move, such as the reason. -
messageLocation
InputLocation messageLocation
Field messageLocation. -
version
String version
The new version of the artifact. -
versionLocation
InputLocation versionLocation
Field versionLocation.
-
-
-
Class org.apache.maven.model.Reporting
class Reporting extends Object implements Serializable-
Serialized Fields
-
excludeDefaults
String excludeDefaults
If true, then the default reports are not included in the site generation. This includes the reports in the "Project Info" menu. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value isfalse
. -
excludeDefaultsLocation
InputLocation excludeDefaultsLocation
Field excludeDefaultsLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
outputDirectory
String outputDirectory
Where to store all of the generated reports. The default is${project.build.directory}/site
. -
outputDirectoryLocation
InputLocation outputDirectoryLocation
Field outputDirectoryLocation. -
plugins
List<ReportPlugin> plugins
Field plugins. -
pluginsLocation
InputLocation pluginsLocation
Field pluginsLocation. -
reportPluginMap
Map<String,
ReportPlugin> reportPluginMap
-
-
-
Class org.apache.maven.model.ReportPlugin
class ReportPlugin extends ConfigurationContainer implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact ID of the reporting plugin in the repository. -
groupId
String groupId
The group ID of the reporting plugin in the repository. -
reportSetMap
Map<String,
ReportSet> reportSetMap -
reportSets
List<ReportSet> reportSets
Field reportSets. -
version
String version
The version of the reporting plugin to be used. Starting with Maven 3, if no version is defined explicitely, version is searched inbuild/plugins
then inbuild/pluginManagement
.
-
-
-
Class org.apache.maven.model.ReportSet
class ReportSet extends ConfigurationContainer implements Serializable -
Class org.apache.maven.model.Repository
class Repository extends RepositoryBase implements Serializable-
Serialized Fields
-
releases
RepositoryPolicy releases
How to handle downloading of releases from this repository. -
snapshots
RepositoryPolicy snapshots
How to handle downloading of snapshots from this repository.
-
-
-
Class org.apache.maven.model.RepositoryBase
class RepositoryBase extends Object implements Serializable-
Serialized Fields
-
id
String id
A unique identifier for a repository. This is used to match the repository to configuration in thesettings.xml
file, for example. Furthermore, the identifier is used during POM inheritance and profile injection to detect repositories that should be merged. -
idLocation
InputLocation idLocation
Field idLocation. -
layout
String layout
The type of layout this repository uses for locating and storing artifacts - can belegacy
ordefault
. -
layoutLocation
InputLocation layoutLocation
Field layoutLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
name
String name
Human readable name of the repository. -
nameLocation
InputLocation nameLocation
Field nameLocation. -
url
String url
The url of the repository, in the formprotocol://hostname/path
. -
urlLocation
InputLocation urlLocation
Field urlLocation.
-
-
-
Class org.apache.maven.model.RepositoryPolicy
class RepositoryPolicy extends Object implements Serializable-
Serialized Fields
-
checksumPolicy
String checksumPolicy
What to do when verification of an artifact checksum fails. Valid values areignore
,fail
orwarn
(the default). -
checksumPolicyLocation
InputLocation checksumPolicyLocation
Field checksumPolicyLocation. -
enabled
String enabled
Whether to use this repository for downloading this type of artifact. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value istrue
. -
enabledLocation
InputLocation enabledLocation
Field enabledLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
updatePolicy
String updatePolicy
The frequency for downloading updates - can bealways,
daily
(default),interval:XXX
(in minutes) ornever
(only if it doesn't exist locally). -
updatePolicyLocation
InputLocation updatePolicyLocation
Field updatePolicyLocation.
-
-
-
Class org.apache.maven.model.Resource
class Resource extends FileSet implements Serializable-
Serialized Fields
-
filtering
String filtering
Whether resources are filtered to replace tokens with parameterised values or not. The values are taken from theproperties
element and from the properties in the files listed in thefilters
element. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value isfalse
. -
mergeId
String mergeId
FOR INTERNAL USE ONLY. This is a unique identifier assigned to each resource to allow Maven to merge changes to this resource that take place during the execution of a plugin. This field must be managed by the generated parser and formatter classes in order to allow it to survive model interpolation. -
targetPath
String targetPath
Describe the resource target path. The path is relative to the target/classes directory (i.e.${project.build.outputDirectory}
). For example, if you want that resource to appear in a specific package (org.apache.maven.messages
), you must specify this element with this value:org/apache/maven/messages
. This is not required if you simply put the resources in that directory structure at the source, however.
-
-
-
Class org.apache.maven.model.Scm
class Scm extends Object implements Serializable-
Serialized Fields
-
childScmConnectionInheritAppendPath
String childScmConnectionInheritAppendPath
When children inherit from scm connection, append path or not? Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
Default value is:true
Since: Maven 3.6.1 . -
childScmConnectionInheritAppendPathLocation
InputLocation childScmConnectionInheritAppendPathLocation
Field childScmConnectionInheritAppendPathLocation. -
childScmDeveloperConnectionInheritAppendPath
String childScmDeveloperConnectionInheritAppendPath
When children inherit from scm developer connection, append path or not? Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
Default value is:true
Since: Maven 3.6.1 . -
childScmDeveloperConnectionInheritAppendPathLocation
InputLocation childScmDeveloperConnectionInheritAppendPathLocation
Field childScmDeveloperConnectionInheritAppendPathLocation. -
childScmUrlInheritAppendPath
String childScmUrlInheritAppendPath
When children inherit from scm url, append path or not? Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
Default value is:true
Since: Maven 3.6.1 . -
childScmUrlInheritAppendPathLocation
InputLocation childScmUrlInheritAppendPathLocation
Field childScmUrlInheritAppendPathLocation. -
connection
String connection
The source control management system URL that describes the repository and how to connect to the repository. For more information, see the URL format and list of supported SCMs. This connection is read-only.
Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if scm'schild.scm.connection.inherit.append.path="false"
-
connectionLocation
InputLocation connectionLocation
Field connectionLocation. -
developerConnection
String developerConnection
Just likeconnection
, but for developers, i.e. this scm connection will not be read only.
Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if scm'schild.scm.developerConnection.inherit.append.path="false"
-
developerConnectionLocation
InputLocation developerConnectionLocation
Field developerConnectionLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
tag
String tag
The tag of current code. By default, it's set to HEAD during development. -
tagLocation
InputLocation tagLocation
Field tagLocation. -
url
String url
The URL to the project's browsable SCM repository, such as ViewVC or Fisheye.
Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if scm'schild.scm.url.inherit.append.path="false"
-
urlLocation
InputLocation urlLocation
Field urlLocation.
-
-
-
Class org.apache.maven.model.Site
class Site extends Object implements Serializable-
Serialized Fields
-
childSiteUrlInheritAppendPath
String childSiteUrlInheritAppendPath
When children inherit from distribution management site url, append path or not? Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
Default value is:true
Since: Maven 3.6.1 . -
childSiteUrlInheritAppendPathLocation
InputLocation childSiteUrlInheritAppendPathLocation
Field childSiteUrlInheritAppendPathLocation. -
id
String id
A unique identifier for a deployment location. This is used to match the site to configuration in thesettings.xml
file, for example. -
idLocation
InputLocation idLocation
Field idLocation. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
name
String name
Human readable name of the deployment location. -
nameLocation
InputLocation nameLocation
Field nameLocation. -
url
String url
The url of the location where website is deployed, in the formprotocol://hostname/path
.
Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if site'schild.site.url.inherit.append.path="false"
-
urlLocation
InputLocation urlLocation
Field urlLocation.
-
-
-