Serialized Form
- 
Package org.apache.maven.api.model- 
Class org.apache.maven.api.model.Activationclass Activation extends Object implements Serializable- 
Serialized Fields- 
activeByDefaultboolean 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.
- 
activeByDefaultLocationInputLocation activeByDefaultLocation Location of the xml element for the field activeByDefault.
- 
fileActivationFile file Specifies that this profile will be activated based on existence of a file.
- 
fileLocationInputLocation fileLocation Location of the xml element for the field file.
- 
jdkString jdk Specifies that this profile will be activated when a matching JDK is detected. For example,1.4only activates on JDKs versioned 1.4, while!1.4matches any JDK that is not version 1.4. Ranges are supported too:[1.5,)activates when the JDK is 1.5 minimum.
- 
jdkLocationInputLocation jdkLocation Location of the xml element for the field jdk.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
osActivationOS os Specifies that this profile will be activated when matching operating system attributes are detected.
- 
osLocationInputLocation osLocation Location of the xml element for the field os.
- 
propertyActivationProperty property Specifies that this profile will be activated when this property is specified.
- 
propertyLocationInputLocation propertyLocation Location of the xml element for the field property.
 
- 
 
- 
- 
Class org.apache.maven.api.model.ActivationFileclass ActivationFile extends Object implements Serializable- 
Serialized Fields- 
existsString exists The name of the file that must exist to activate the profile.
- 
existsLocationInputLocation existsLocation Location of the xml element for the field exists.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
missingString missing The name of the file that must be missing to activate the profile.
- 
missingLocationInputLocation missingLocation Location of the xml element for the field missing.
 
- 
 
- 
- 
Class org.apache.maven.api.model.ActivationOSclass ActivationOS extends Object implements Serializable- 
Serialized Fields- 
archString arch The architecture of the operating system to be used to activate the profile.
- 
archLocationInputLocation archLocation Location of the xml element for the field arch.
- 
familyString family The general family of the OS to be used to activate the profile, such aswindowsorunix.
- 
familyLocationInputLocation familyLocation Location of the xml element for the field family.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
nameString 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.
- 
nameLocationInputLocation nameLocation Location of the xml element for the field name.
- 
versionString version The version of the operating system to be used to activate the profile.
- 
versionLocationInputLocation versionLocation Location of the xml element for the field version.
 
- 
 
- 
- 
Class org.apache.maven.api.model.ActivationPropertyclass ActivationProperty extends Object implements Serializable- 
Serialized Fields- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
nameString name The name of the property to be used to activate a profile.
- 
nameLocationInputLocation nameLocation Location of the xml element for the field name.
- 
valueString value The value of the property required to activate a profile.
- 
valueLocationInputLocation valueLocation Location of the xml element for the field value.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Buildclass Build extends BuildBase implements Serializable- 
Serialized Fields- 
extensionsList<Extension> extensions A set of build extensions to use from this project.
- 
extensionsLocationInputLocation extensionsLocation Location of the xml element for the field extensions.
- 
outputDirectoryString outputDirectory The directory where compiled application classes are placed. The default value istarget/classes.
- 
outputDirectoryLocationInputLocation outputDirectoryLocation Location of the xml element for the field outputDirectory.
- 
scriptSourceDirectoryString 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.
- 
scriptSourceDirectoryLocationInputLocation scriptSourceDirectoryLocation Location of the xml element for the field scriptSourceDirectory.
- 
sourceDirectoryString 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.
- 
sourceDirectoryLocationInputLocation sourceDirectoryLocation Location of the xml element for the field sourceDirectory.
- 
testOutputDirectoryString testOutputDirectory The directory where compiled test classes are placed. The default value istarget/test-classes.
- 
testOutputDirectoryLocationInputLocation testOutputDirectoryLocation Location of the xml element for the field testOutputDirectory.
- 
testSourceDirectoryString 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.
- 
testSourceDirectoryLocationInputLocation testSourceDirectoryLocation Location of the xml element for the field testSourceDirectory.
 
- 
 
- 
- 
Class org.apache.maven.api.model.BuildBaseclass BuildBase extends PluginConfiguration implements Serializable- 
Serialized Fields- 
defaultGoalString 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.
- 
defaultGoalLocationInputLocation defaultGoalLocation Location of the xml element for the field defaultGoal.
- 
directoryString directory The directory where all files generated by the build are placed. The default value istarget.
- 
directoryLocationInputLocation directoryLocation Location of the xml element for the field directory.
- 
filtersList<String> filters The list of filter properties files that are used when filtering is enabled.
- 
filtersLocationInputLocation filtersLocation Location of the xml element for the field filters.
- 
finalNameString finalName The filename (excluding the extension, and with no path information) that the produced artifact will be called. The default value is${artifactId}-${version}.
- 
finalNameLocationInputLocation finalNameLocation Location of the xml element for the field finalName.
- 
resourcesList<Resource> resources This element describes all of the classpath resources such as properties files associated with a project. These resources are often included in the final package. The default value issrc/main/resources.
- 
resourcesLocationInputLocation resourcesLocation Location of the xml element for the field resources.
- 
testResourcesList<Resource> testResources This element describes all of the classpath resources such as properties files associated with a project's unit tests. The default value issrc/test/resources.
- 
testResourcesLocationInputLocation testResourcesLocation Location of the xml element for the field testResources.
 
- 
 
- 
- 
Class org.apache.maven.api.model.CiManagementclass CiManagement extends Object implements Serializable- 
Serialized Fields- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
notifiersList<Notifier> notifiers Configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.
- 
notifiersLocationInputLocation notifiersLocation Location of the xml element for the field notifiers.
- 
systemString system The name of the continuous integration system, e.g.continuum.
- 
systemLocationInputLocation systemLocation Location of the xml element for the field system.
- 
urlString url URL for the continuous integration system used by the project if it has a web interface.
- 
urlLocationInputLocation urlLocation Location of the xml element for the field url.
 
- 
 
- 
- 
Class org.apache.maven.api.model.ConfigurationContainerclass ConfigurationContainer extends Object implements Serializable- 
Serialized Fields- 
configurationDom 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.childrenorcombine.selfattributes to the children of the configuration element:- combine.children: available values are- merge(default) and- append,
- combine.self: available values are- merge(default) and- override.
 See POM Reference documentation and Xpp3DomUtils for more information. 
- 
configurationLocationInputLocation configurationLocation Location of the xml element for the field configuration.
- 
inheritedString inherited Whether any configuration should be propagated to child POMs. Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean. Default value istrue.
- 
inheritedLocationInputLocation inheritedLocation Location of the xml element for the field inherited.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
 
- 
 
- 
- 
Class org.apache.maven.api.model.Contributorclass Contributor extends Object implements Serializable- 
Serialized Fields- 
emailString email The email address of the contributor.
- 
emailLocationInputLocation emailLocation Location of the xml element for the field email.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
nameString name The full name of the contributor.
- 
nameLocationInputLocation nameLocation Location of the xml element for the field name.
- 
organizationString organization The organization to which the contributor belongs.
- 
organizationLocationInputLocation organizationLocation Location of the xml element for the field organization.
- 
organizationUrlString organizationUrl The URL of the organization.
- 
organizationUrlLocationInputLocation organizationUrlLocation Location of the xml element for the field organizationUrl.
- 
propertiesMap<String, String> properties Properties about the contributor, such as an instant messenger handle.
- 
propertiesLocationInputLocation propertiesLocation Location of the xml element for the field properties.
- 
rolesList<String> roles The roles the contributor plays in the project. Each role is described by aroleelement, the body of which is a role name. This can also be used to describe the contribution.
- 
rolesLocationInputLocation rolesLocation Location of the xml element for the field roles.
- 
timezoneString timezone 
- 
timezoneLocationInputLocation timezoneLocation Location of the xml element for the field timezone.
- 
urlString url The URL for the homepage of the contributor.
- 
urlLocationInputLocation urlLocation Location of the xml element for the field url.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Dependencyclass Dependency extends Object implements Serializable- 
Serialized Fields- 
artifactIdString artifactId The unique id for an artifact produced by the project group, e.g.maven-artifact.
- 
artifactIdLocationInputLocation artifactIdLocation Location of the xml element for the field artifactId.
- 
classifierString classifier The classifier of the dependency. It is appended to the filename after the version. This allows:- referring to attached artifact, for example sourcesandjavadoc: see default artifact handlers for a list,
- distinguishing two artifacts
 that belong to the same POM but were built differently.
 For example, jdk14andjdk15.
 
- referring to attached artifact, for example 
- 
classifierLocationInputLocation classifierLocation Location of the xml element for the field classifier.
- 
exclusionsList<Exclusion> exclusions Lists a set of artifacts that should be excluded from this dependency's artifact list when it comes to calculating transitive dependencies.
- 
exclusionsLocationInputLocation exclusionsLocation Location of the xml element for the field exclusions.
- 
groupIdString groupId The project group that produced the dependency, e.g.org.apache.maven.
- 
groupIdLocationInputLocation groupIdLocation Location of the xml element for the field groupId.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
managementKeyString managementKey 
- 
optionalString 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 isStringfor technical reasons, the semantic type is actuallyBoolean. Default value isfalse.
- 
optionalLocationInputLocation optionalLocation Location of the xml element for the field optional.
- 
scopeString 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.
- 
scopeLocationInputLocation scopeLocation Location of the xml element for the field scope.
- 
systemPathString 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}.
- 
systemPathLocationInputLocation systemPathLocation Location of the xml element for the field systemPath.
- 
typeString 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-clientandtest-jar: see default artifact handlers for a list. New types can be defined by extensions, so this is not a complete list.
- 
typeLocationInputLocation typeLocation Location of the xml element for the field type.
- 
versionString version The version of the dependency, e.g.3.2.1. In Maven 2, this can also be specified as a range of versions.
- 
versionLocationInputLocation versionLocation Location of the xml element for the field version.
 
- 
 
- 
- 
Class org.apache.maven.api.model.DependencyManagementclass DependencyManagement extends Object implements Serializable- 
Serialized Fields- 
dependenciesList<Dependency> dependencies The dependencies specified here are not used until they are referenced in a POM within the group. This allows the specification of a "standard" version for a particular dependency.
- 
dependenciesLocationInputLocation dependenciesLocation Location of the xml element for the field dependencies.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
 
- 
 
- 
- 
Class org.apache.maven.api.model.DeploymentRepositoryclass DeploymentRepository extends Repository implements Serializable- 
Serialized Fields- 
uniqueVersionboolean uniqueVersion Whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time
- 
uniqueVersionLocationInputLocation uniqueVersionLocation Location of the xml element for the field uniqueVersion.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Developerclass Developer extends Contributor implements Serializable- 
Serialized Fields- 
idString id The unique ID of the developer in the SCM.
- 
idLocationInputLocation idLocation Location of the xml element for the field id.
 
- 
 
- 
- 
Class org.apache.maven.api.model.DistributionManagementclass DistributionManagement extends Object implements Serializable- 
Serialized Fields- 
downloadUrlString 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.
- 
downloadUrlLocationInputLocation downloadUrlLocation Location of the xml element for the field downloadUrl.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
relocationRelocation relocation Relocation information of the artifact if it has been moved to a new group ID and/or artifact ID.
- 
relocationLocationInputLocation relocationLocation Location of the xml element for the field relocation.
- 
repositoryDeploymentRepository repository Information needed to deploy the artifacts generated by the project to a remote repository.
- 
repositoryLocationInputLocation repositoryLocation Location of the xml element for the field repository.
- 
siteSite site Information needed for deploying the web site of the project.
- 
siteLocationInputLocation siteLocation Location of the xml element for the field site.
- 
snapshotRepositoryDeploymentRepository snapshotRepository Where to deploy snapshots of artifacts to. If not given, it defaults to therepositoryelement.
- 
snapshotRepositoryLocationInputLocation snapshotRepositoryLocation Location of the xml element for the field snapshotRepository.
- 
statusString 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).
- 
statusLocationInputLocation statusLocation Location of the xml element for the field status.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Exclusionclass Exclusion extends Object implements Serializable- 
Serialized Fields- 
artifactIdString artifactId The artifact ID of the project to exclude.
- 
artifactIdLocationInputLocation artifactIdLocation Location of the xml element for the field artifactId.
- 
groupIdString groupId The group ID of the project to exclude.
- 
groupIdLocationInputLocation groupIdLocation Location of the xml element for the field groupId.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
 
- 
 
- 
- 
Class org.apache.maven.api.model.Extensionclass Extension extends Object implements Serializable- 
Serialized Fields- 
artifactIdString artifactId The artifact ID of the extension.
- 
artifactIdLocationInputLocation artifactIdLocation Location of the xml element for the field artifactId.
- 
groupIdString groupId The group ID of the extension's artifact.
- 
groupIdLocationInputLocation groupIdLocation Location of the xml element for the field groupId.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
versionString version The version of the extension.
- 
versionLocationInputLocation versionLocation Location of the xml element for the field version.
 
- 
 
- 
- 
Class org.apache.maven.api.model.FileSetclass FileSet extends PatternSet implements Serializable- 
Serialized Fields- 
directoryString directory Describe the directory where the resources are stored. The path is relative to the POM.
- 
directoryLocationInputLocation directoryLocation Location of the xml element for the field directory.
 
- 
 
- 
- 
Class org.apache.maven.api.model.InputLocationclass InputLocation extends Object implements Serializable- 
Serialized Fields- 
columnNumberint columnNumber 
- 
lineNumberint lineNumber 
- 
locationsMap<Object, InputLocation> locations 
- 
sourceInputSource source 
 
- 
 
- 
- 
Class org.apache.maven.api.model.InputSourceclass InputSource extends Object implements Serializable
- 
Class org.apache.maven.api.model.IssueManagementclass IssueManagement extends Object implements Serializable- 
Serialized Fields- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
systemString system The name of the issue management system, e.g. Bugzilla
- 
systemLocationInputLocation systemLocation Location of the xml element for the field system.
- 
urlString url URL for the issue management system used by the project.
- 
urlLocationInputLocation urlLocation Location of the xml element for the field url.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Licenseclass License extends Object implements Serializable- 
Serialized Fields- 
commentsString comments Addendum information pertaining to this license.
- 
commentsLocationInputLocation commentsLocation Location of the xml element for the field comments.
- 
distributionString 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.
 
- 
distributionLocationInputLocation distributionLocation Location of the xml element for the field distribution.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
nameString name The full legal name of the license.
- 
nameLocationInputLocation nameLocation Location of the xml element for the field name.
- 
urlString url The official url for the license text.
- 
urlLocationInputLocation urlLocation Location of the xml element for the field url.
 
- 
 
- 
- 
Class org.apache.maven.api.model.MailingListclass MailingList extends Object implements Serializable- 
Serialized Fields- 
archiveString archive The link to a URL where you can browse the mailing list archive.
- 
archiveLocationInputLocation archiveLocation Location of the xml element for the field archive.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
nameString name The name of the mailing list.
- 
nameLocationInputLocation nameLocation Location of the xml element for the field name.
- 
otherArchivesList<String> otherArchives The link to alternate URLs where you can browse the list archive.
- 
otherArchivesLocationInputLocation otherArchivesLocation Location of the xml element for the field otherArchives.
- 
postString 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.
- 
postLocationInputLocation postLocation Location of the xml element for the field post.
- 
subscribeString 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.
- 
subscribeLocationInputLocation subscribeLocation Location of the xml element for the field subscribe.
- 
unsubscribeString 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.
- 
unsubscribeLocationInputLocation unsubscribeLocation Location of the xml element for the field unsubscribe.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Modelclass Model extends ModelBase implements Serializable- 
Serialized Fields- 
artifactIdString 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.
- 
artifactIdLocationInputLocation artifactIdLocation Location of the xml element for the field artifactId.
- 
buildBuild build Information required to build the project.
- 
buildLocationInputLocation buildLocation Location of the xml element for the field build.
- 
childProjectUrlInheritAppendPathString childProjectUrlInheritAppendPath When children inherit from project's url, append path or not? Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean
 Default value is:true
 Since: Maven 3.6.1
- 
childProjectUrlInheritAppendPathLocationInputLocation childProjectUrlInheritAppendPathLocation Location of the xml element for the field childProjectUrlInheritAppendPath.
- 
ciManagementCiManagement ciManagement The project's continuous integration information.
- 
ciManagementLocationInputLocation ciManagementLocation Location of the xml element for the field ciManagement.
- 
contributorsList<Contributor> contributors Describes the contributors to a project that are not yet committers.
- 
contributorsLocationInputLocation contributorsLocation Location of the xml element for the field contributors.
- 
descriptionString 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.
- 
descriptionLocationInputLocation descriptionLocation Location of the xml element for the field description.
- 
developersList<Developer> developers Describes the committers of a project.
- 
developersLocationInputLocation developersLocation Location of the xml element for the field developers.
- 
groupIdString 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).
- 
groupIdLocationInputLocation groupIdLocation Location of the xml element for the field groupId.
- 
inceptionYearString 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.
- 
inceptionYearLocationInputLocation inceptionYearLocation Location of the xml element for the field inceptionYear.
- 
issueManagementIssueManagement issueManagement The project's issue management system information.
- 
issueManagementLocationInputLocation issueManagementLocation Location of the xml element for the field issueManagement.
- 
licensesList<License> licenses This element describes all of the licenses for this project. Each license is described by alicenseelement, which is then described by additional elements. Projects should only list the license(s) that applies to the project and not the licenses that apply to dependencies. If multiple licenses are listed, it is assumed that the user can select any of them, not that they must accept all.
- 
licensesLocationInputLocation licensesLocation Location of the xml element for the field licenses.
- 
mailingListsList<MailingList> mailingLists Contains information about a project's mailing lists.
- 
mailingListsLocationInputLocation mailingListsLocation Location of the xml element for the field mailingLists.
- 
modelEncodingString modelEncoding 
- 
modelVersionString modelVersion Declares to which version of project descriptor this POM conforms.
- 
modelVersionLocationInputLocation modelVersionLocation Location of the xml element for the field modelVersion.
- 
nameString name The full name of the project.
- 
nameLocationInputLocation nameLocation Location of the xml element for the field name.
- 
organizationOrganization 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).
- 
organizationLocationInputLocation organizationLocation Location of the xml element for the field organization.
- 
packagingString packaging The type of artifact this project produces, for examplejarwarearpom. Plugins can create their own packaging, and therefore their own packaging types, so this list does not contain all possible types.
- 
packagingLocationInputLocation packagingLocation Location of the xml element for the field packaging.
- 
parentParent 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.
- 
parentLocationInputLocation parentLocation Location of the xml element for the field parent.
- 
pomFilePath pomFile Originating POM file
- 
pomFileLocationInputLocation pomFileLocation Location of the xml element for the field pomFile.
- 
prerequisitesPrerequisites prerequisites Describes the prerequisites in the build environment for this project.
- 
prerequisitesLocationInputLocation prerequisitesLocation Location of the xml element for the field prerequisites.
- 
profilesList<Profile> profiles A listing of project-local build profiles which will modify the build process when activated.
- 
profilesLocationInputLocation profilesLocation Location of the xml element for the field profiles.
- 
scmScm scm Specification for the SCM used by the project, such as CVS, Subversion, etc.
- 
scmLocationInputLocation scmLocation Location of the xml element for the field scm.
- 
urlString 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"
- 
urlLocationInputLocation urlLocation Location of the xml element for the field url.
- 
versionString version The current version of the artifact produced by this project.
- 
versionLocationInputLocation versionLocation Location of the xml element for the field version.
 
- 
 
- 
- 
Class org.apache.maven.api.model.ModelBaseclass ModelBase extends Object implements Serializable- 
Serialized Fields- 
dependenciesList<Dependency> dependencies This element describes all of the dependencies associated with a project. These dependencies are used to construct a classpath for your project during the build process. They are automatically downloaded from the repositories defined in this project. See the dependency mechanism for more information.
- 
dependenciesLocationInputLocation dependenciesLocation Location of the xml element for the field dependencies.
- 
dependencyManagementDependencyManagement 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.
- 
dependencyManagementLocationInputLocation dependencyManagementLocation Location of the xml element for the field dependencyManagement.
- 
distributionManagementDistributionManagement distributionManagement Distribution information for a project that enables deployment of the site and artifacts to remote web servers and repositories respectively.
- 
distributionManagementLocationInputLocation distributionManagementLocation Location of the xml element for the field distributionManagement.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
modulesList<String> modules The modules (sometimes called subprojects) to build as a part of this project. Each module listed is a relative path to the directory containing the module. To be consistent with the way default urls are calculated from parent, it is recommended to have module names match artifact ids.
- 
modulesLocationInputLocation modulesLocation Location of the xml element for the field modules.
- 
pluginRepositoriesList<Repository> pluginRepositories The lists of the remote repositories for discovering plugins for builds and reports.
- 
pluginRepositoriesLocationInputLocation pluginRepositoriesLocation Location of the xml element for the field pluginRepositories.
- 
propertiesMap<String, String> properties Properties that can be used throughout the POM as a substitution, and are used as filters in resources if enabled. The format is<name>value</name>.
- 
propertiesLocationInputLocation propertiesLocation Location of the xml element for the field properties.
- 
reportingReporting 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.
- 
reportingLocationInputLocation reportingLocation Location of the xml element for the field reporting.
- 
repositoriesList<Repository> repositories The lists of the remote repositories for discovering dependencies and extensions.
- 
repositoriesLocationInputLocation repositoriesLocation Location of the xml element for the field repositories.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Notifierclass Notifier extends Object implements Serializable- 
Serialized Fields- 
addressString address Deprecated. Where to send the notification to - eg email address.
- 
addressLocationInputLocation addressLocation Location of the xml element for the field address.
- 
configurationMap<String, String> configuration Extended configuration specific to this notifier goes here.
- 
configurationLocationInputLocation configurationLocation Location of the xml element for the field configuration.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
sendOnErrorboolean sendOnError Whether to send notifications on error.
- 
sendOnErrorLocationInputLocation sendOnErrorLocation Location of the xml element for the field sendOnError.
- 
sendOnFailureboolean sendOnFailure Whether to send notifications on failure.
- 
sendOnFailureLocationInputLocation sendOnFailureLocation Location of the xml element for the field sendOnFailure.
- 
sendOnSuccessboolean sendOnSuccess Whether to send notifications on success.
- 
sendOnSuccessLocationInputLocation sendOnSuccessLocation Location of the xml element for the field sendOnSuccess.
- 
sendOnWarningboolean sendOnWarning Whether to send notifications on warning.
- 
sendOnWarningLocationInputLocation sendOnWarningLocation Location of the xml element for the field sendOnWarning.
- 
typeString type The mechanism used to deliver notifications.
- 
typeLocationInputLocation typeLocation Location of the xml element for the field type.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Organizationclass Organization extends Object implements Serializable- 
Serialized Fields- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
nameString name The full name of the organization.
- 
nameLocationInputLocation nameLocation Location of the xml element for the field name.
- 
urlString url The URL to the organization's home page.
- 
urlLocationInputLocation urlLocation Location of the xml element for the field url.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Parentclass Parent extends Object implements Serializable- 
Serialized Fields- 
artifactIdString artifactId The artifact id of the parent project to inherit from.
- 
artifactIdLocationInputLocation artifactIdLocation Location of the xml element for the field artifactId.
- 
groupIdString groupId The group id of the parent project to inherit from.
- 
groupIdLocationInputLocation groupIdLocation Location of the xml element for the field groupId.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
relativePathString relativePath The relative path of the parentpom.xmlfile 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.relativePathallows 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.
- 
relativePathLocationInputLocation relativePathLocation Location of the xml element for the field relativePath.
- 
versionString version The version of the parent project to inherit.
- 
versionLocationInputLocation versionLocation Location of the xml element for the field version.
 
- 
 
- 
- 
Class org.apache.maven.api.model.PatternSetclass PatternSet extends Object implements Serializable- 
Serialized Fields- 
excludesList<String> excludes A list of patterns to exclude, e.g.**/*.xml
- 
excludesLocationInputLocation excludesLocation Location of the xml element for the field excludes.
- 
includesList<String> includes A list of patterns to include, e.g.**/*.xml.
- 
includesLocationInputLocation includesLocation Location of the xml element for the field includes.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
 
- 
 
- 
- 
Class org.apache.maven.api.model.Pluginclass Plugin extends ConfigurationContainer implements Serializable- 
Serialized Fields- 
artifactIdString artifactId The artifact ID of the plugin in the repository.
- 
artifactIdLocationInputLocation artifactIdLocation Location of the xml element for the field artifactId.
- 
dependenciesList<Dependency> dependencies Additional dependencies that this project needs to introduce to the plugin's classloader.
- 
dependenciesLocationInputLocation dependenciesLocation Location of the xml element for the field dependencies.
- 
executionMapMap<String, PluginExecution> executionMap 
- 
executionsList<PluginExecution> executions Multiple specifications of a set of goals to execute during the build lifecycle, each having (possibly) a different configuration.
- 
executionsLocationInputLocation executionsLocation Location of the xml element for the field executions.
- 
extensionsString 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 isStringfor technical reasons, the semantic type is actuallyBoolean. Default value isfalse.
- 
extensionsLocationInputLocation extensionsLocation Location of the xml element for the field extensions.
- 
groupIdString groupId The group ID of the plugin in the repository.
- 
groupIdLocationInputLocation groupIdLocation Location of the xml element for the field groupId.
- 
versionString version The version (or valid range of versions) of the plugin to be used.
- 
versionLocationInputLocation versionLocation Location of the xml element for the field version.
 
- 
 
- 
- 
Class org.apache.maven.api.model.PluginConfigurationclass PluginConfiguration extends PluginContainer implements Serializable- 
Serialized Fields- 
pluginManagementPluginManagement 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.
- 
pluginManagementLocationInputLocation pluginManagementLocation Location of the xml element for the field pluginManagement.
 
- 
 
- 
- 
Class org.apache.maven.api.model.PluginContainerclass PluginContainer extends Object implements Serializable- 
Serialized Fields- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
pluginMapMap<String, Plugin> pluginMap 
- 
pluginsList<Plugin> plugins The list of plugins to use.
- 
pluginsLocationInputLocation pluginsLocation Location of the xml element for the field plugins.
 
- 
 
- 
- 
Class org.apache.maven.api.model.PluginExecutionclass PluginExecution extends ConfigurationContainer implements Serializable- 
Serialized Fields- 
goalsList<String> goals The goals to execute with the given configuration.
- 
goalsLocationInputLocation goalsLocation Location of the xml element for the field goals.
- 
idString id The identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.
- 
idLocationInputLocation idLocation Location of the xml element for the field id.
- 
phaseString 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.
- 
phaseLocationInputLocation phaseLocation Location of the xml element for the field phase.
- 
priorityint 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.
- 
priorityLocationInputLocation priorityLocation Location of the xml element for the field priority.
 
- 
 
- 
- 
Class org.apache.maven.api.model.PluginManagementclass PluginManagement extends PluginContainer implements Serializable
- 
Class org.apache.maven.api.model.Prerequisitesclass Prerequisites extends Object implements Serializable- 
Serialized Fields- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
mavenString 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'srequireMavenVersionrule instead.
- 
mavenLocationInputLocation mavenLocation Location of the xml element for the field maven.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Profileclass Profile extends ModelBase implements Serializable- 
Serialized Fields- 
activationActivation activation The conditional logic which will automatically trigger the inclusion of this profile.
- 
activationLocationInputLocation activationLocation Location of the xml element for the field activation.
- 
buildBuildBase build Information required to build the project.
- 
buildLocationInputLocation buildLocation Location of the xml element for the field build.
- 
idString id The identifier of this build profile. This is used for command line activation, and identifies profiles to be merged.
- 
idLocationInputLocation idLocation Location of the xml element for the field id.
- 
sourceString source 
 
- 
 
- 
- 
Class org.apache.maven.api.model.Relocationclass Relocation extends Object implements Serializable- 
Serialized Fields- 
artifactIdString artifactId The new artifact ID of the artifact.
- 
artifactIdLocationInputLocation artifactIdLocation Location of the xml element for the field artifactId.
- 
groupIdString groupId The group ID the artifact has moved to.
- 
groupIdLocationInputLocation groupIdLocation Location of the xml element for the field groupId.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
messageString message An additional message to show the user about the move, such as the reason.
- 
messageLocationInputLocation messageLocation Location of the xml element for the field message.
- 
versionString version The new version of the artifact.
- 
versionLocationInputLocation versionLocation Location of the xml element for the field version.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Reportingclass Reporting extends Object implements Serializable- 
Serialized Fields- 
excludeDefaultsString 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 isStringfor technical reasons, the semantic type is actuallyBoolean. Default value isfalse.
- 
excludeDefaultsLocationInputLocation excludeDefaultsLocation Location of the xml element for the field excludeDefaults.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
outputDirectoryString outputDirectory Where to store all of the generated reports. The default is${project.build.directory}/site.
- 
outputDirectoryLocationInputLocation outputDirectoryLocation Location of the xml element for the field outputDirectory.
- 
pluginsList<ReportPlugin> plugins The reporting plugins to use and their configuration.
- 
pluginsLocationInputLocation pluginsLocation Location of the xml element for the field plugins.
 
- 
 
- 
- 
Class org.apache.maven.api.model.ReportPluginclass ReportPlugin extends ConfigurationContainer implements Serializable- 
Serialized Fields- 
artifactIdString artifactId The artifact ID of the reporting plugin in the repository.
- 
artifactIdLocationInputLocation artifactIdLocation Location of the xml element for the field artifactId.
- 
groupIdString groupId The group ID of the reporting plugin in the repository.
- 
groupIdLocationInputLocation groupIdLocation Location of the xml element for the field groupId.
- 
reportSetMapMap<String, ReportSet> reportSetMap 
- 
reportSetsList<ReportSet> reportSets Multiple specifications of a set of reports, each having (possibly) different configuration. This is the reporting parallel to anexecutionin the build.
- 
reportSetsLocationInputLocation reportSetsLocation Location of the xml element for the field reportSets.
- 
versionString version The version of the reporting plugin to be used. Starting with Maven 3, if no version is defined explicitly, version is searched inbuild/pluginsthen inbuild/pluginManagement.
- 
versionLocationInputLocation versionLocation Location of the xml element for the field version.
 
- 
 
- 
- 
Class org.apache.maven.api.model.ReportSetclass ReportSet extends ConfigurationContainer implements Serializable- 
Serialized Fields- 
idString id The unique id for this report set, to be used during POM inheritance and profile injection for merging of report sets.
- 
idLocationInputLocation idLocation Location of the xml element for the field id.
- 
reportsList<String> reports The list of reports from this plugin which should be generated from this set.
- 
reportsLocationInputLocation reportsLocation Location of the xml element for the field reports.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Repositoryclass Repository extends RepositoryBase implements Serializable- 
Serialized Fields- 
releasesRepositoryPolicy releases How to handle downloading of releases from this repository.
- 
releasesLocationInputLocation releasesLocation Location of the xml element for the field releases.
- 
snapshotsRepositoryPolicy snapshots How to handle downloading of snapshots from this repository.
- 
snapshotsLocationInputLocation snapshotsLocation Location of the xml element for the field snapshots.
 
- 
 
- 
- 
Class org.apache.maven.api.model.RepositoryBaseclass RepositoryBase extends Object implements Serializable- 
Serialized Fields- 
idString id A unique identifier for a repository. This is used to match the repository to configuration in thesettings.xmlfile, for example. Furthermore, the identifier is used during POM inheritance and profile injection to detect repositories that should be merged.
- 
idLocationInputLocation idLocation Location of the xml element for the field id.
- 
layoutString layout The type of layout this repository uses for locating and storing artifacts - can belegacyordefault.
- 
layoutLocationInputLocation layoutLocation Location of the xml element for the field layout.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
nameString name Human readable name of the repository.
- 
nameLocationInputLocation nameLocation Location of the xml element for the field name.
- 
urlString url The url of the repository, in the formprotocol://hostname/path.
- 
urlLocationInputLocation urlLocation Location of the xml element for the field url.
 
- 
 
- 
- 
Class org.apache.maven.api.model.RepositoryPolicyclass RepositoryPolicy extends Object implements Serializable- 
Serialized Fields- 
checksumPolicyString checksumPolicy What to do when verification of an artifact checksum fails. Valid values areignore,fail(default for Maven 4 and above) orwarn(default for Maven 2 and 3)
- 
checksumPolicyLocationInputLocation checksumPolicyLocation Location of the xml element for the field checksumPolicy.
- 
enabledString enabled Whether to use this repository for downloading this type of artifact. Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean. Default value istrue.
- 
enabledLocationInputLocation enabledLocation Location of the xml element for the field enabled.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
updatePolicyString updatePolicy The frequency for downloading updates - can bealways,daily(default),interval:XXX(in minutes) ornever(only if it doesn't exist locally).
- 
updatePolicyLocationInputLocation updatePolicyLocation Location of the xml element for the field updatePolicy.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Resourceclass Resource extends FileSet implements Serializable- 
Serialized Fields- 
filteringString filtering Whether resources are filtered to replace tokens with parameterised values or not. The values are taken from thepropertieselement and from the properties in the files listed in thefilterselement. Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean. Default value isfalse.
- 
filteringLocationInputLocation filteringLocation Location of the xml element for the field filtering.
- 
mergeIdString 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.
- 
mergeIdLocationInputLocation mergeIdLocation Location of the xml element for the field mergeId.
- 
targetPathString 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.
- 
targetPathLocationInputLocation targetPathLocation Location of the xml element for the field targetPath.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Scmclass Scm extends Object implements Serializable- 
Serialized Fields- 
childScmConnectionInheritAppendPathString childScmConnectionInheritAppendPath When children inherit from scm connection, append path or not? Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean
 Default value is:true
 Since: Maven 3.6.1
- 
childScmConnectionInheritAppendPathLocationInputLocation childScmConnectionInheritAppendPathLocation Location of the xml element for the field childScmConnectionInheritAppendPath.
- 
childScmDeveloperConnectionInheritAppendPathString childScmDeveloperConnectionInheritAppendPath When children inherit from scm developer connection, append path or not? Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean
 Default value is:true
 Since: Maven 3.6.1
- 
childScmDeveloperConnectionInheritAppendPathLocationInputLocation childScmDeveloperConnectionInheritAppendPathLocation Location of the xml element for the field childScmDeveloperConnectionInheritAppendPath.
- 
childScmUrlInheritAppendPathString childScmUrlInheritAppendPath When children inherit from scm url, append path or not? Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean
 Default value is:true
 Since: Maven 3.6.1
- 
childScmUrlInheritAppendPathLocationInputLocation childScmUrlInheritAppendPathLocation Location of the xml element for the field childScmUrlInheritAppendPath.
- 
connectionString 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"
- 
connectionLocationInputLocation connectionLocation Location of the xml element for the field connection.
- 
developerConnectionString 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"
- 
developerConnectionLocationInputLocation developerConnectionLocation Location of the xml element for the field developerConnection.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
tagString tag The tag of current code. By default, it's set to HEAD during development.
- 
tagLocationInputLocation tagLocation Location of the xml element for the field tag.
- 
urlString 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"
- 
urlLocationInputLocation urlLocation Location of the xml element for the field url.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Siteclass Site extends Object implements Serializable- 
Serialized Fields- 
childSiteUrlInheritAppendPathString childSiteUrlInheritAppendPath When children inherit from distribution management site url, append path or not? Note: While the type of this field isStringfor technical reasons, the semantic type is actuallyBoolean
 Default value is:true
 Since: Maven 3.6.1
- 
childSiteUrlInheritAppendPathLocationInputLocation childSiteUrlInheritAppendPathLocation Location of the xml element for the field childSiteUrlInheritAppendPath.
- 
idString id A unique identifier for a deployment location. This is used to match the site to configuration in thesettings.xmlfile, for example.
- 
idLocationInputLocation idLocation Location of the xml element for the field id.
- 
locationInputLocation location Location of the xml element for this object.
- 
locationsMap<Object, InputLocation> locations Other locations
- 
nameString name Human readable name of the deployment location.
- 
nameLocationInputLocation nameLocation Location of the xml element for the field name.
- 
urlString 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"
- 
urlLocationInputLocation urlLocation Location of the xml element for the field url.
 
- 
 
- 
 
-