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.
- 
conditionString condition The condition which must be satisfied to activate the profile.
- 
fileActivationFile file Specifies that this profile will be activated based on existence of a file.
- 
importedFromInputLocation importedFrom Location tracking
- 
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.
- 
locationsMap<Object, InputLocation> locations Locations
- 
osActivationOS os Specifies that this profile will be activated when matching operating system attributes are detected.
- 
packagingString packaging Specifies that this profile will be activated based on the project's packaging.
- 
propertyActivationProperty property Specifies that this profile will be activated when this property is specified.
 
- 
 
- 
- 
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. Please note, that missing and exists fields cannot be used together. Only one of them should be used at any one time.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
missingString missing The name of the file that must be missing to activate the profile. Please note, that missing and exists fields cannot be used together. Only one of them should be used at any one time.
 
- 
 
- 
- 
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.
- 
familyString family The general family of the OS to be used to activate the profile, such aswindowsorunix.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations 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.
- 
versionString version The version of the operating system to be used to activate the profile.
 
- 
 
- 
- 
Class org.apache.maven.api.model.ActivationPropertyclass ActivationProperty extends Object implements Serializable- 
Serialized Fields- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
nameString name The name of the property to be used to activate a profile.
- 
valueString value The value of the property required to activate a profile.
 
- 
 
- 
- 
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.
- 
outputDirectoryString outputDirectory The directory where compiled application classes are placed. The default value istarget/classes.
- 
scriptSourceDirectoryString scriptSourceDirectory Deprecated.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.
- 
sourceDirectoryString sourceDirectory Deprecated.Replaced by<Source>withmainscope.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.
- 
sourcesList<Source> sources All the sources to compile and resources files to copy for a project or it's unit tests. The sources can be Java source files, generated source files, scripts, or resources for examples. Each source is specified by adirectoryelement, which is relative to the POM. The kind of sources (source files to compile or resources to copy) and their usage (for the main code or for the tests) is specified by thescopeelement together with each source directory.
- 
testOutputDirectoryString testOutputDirectory The directory where compiled test classes are placed. The default value istarget/test-classes.
- 
testSourceDirectoryString testSourceDirectory Deprecated.Replaced by<Source>withtestscope.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.api.model.BuildBaseclass BuildBase extends PluginConfiguration implements Serializable- 
Serialized Fields- 
defaultGoalString defaultGoal The default goal to execute when none is specified for the project. Note that in case of a build with subprojects, only the default goal of the top-level project is relevant, i.e. the default goals of subprojects are ignored. Since Maven 3, multiple goals/phases can be separated by whitespace.
- 
directoryString directory The directory where all files generated by the build are placed. The default value istarget.
- 
filtersList<String> filters The list of filter properties files that are used when filtering is enabled.
- 
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}.
- 
resourcesList<Resource> resources Deprecated.Replaced by<Source>withmainscope andresourceslanguage.This element describes all 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.
- 
testResourcesList<Resource> testResources Deprecated.Replaced by<Source>withtestscope andresourceslanguage.This element describes all the classpath resources such as properties files associated with a project's unit tests. The default value issrc/test/resources.
 
- 
 
- 
- 
Class org.apache.maven.api.model.CiManagementclass CiManagement extends Object implements Serializable- 
Serialized Fields- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
notifiersList<Notifier> notifiers Configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode.
- 
systemString system The name of the continuous integration system, e.g.continuum.
- 
urlString url URL for the continuous integration system used by the project if it has a web interface.
 
- 
 
- 
- 
Class org.apache.maven.api.model.ConfigurationContainerclass ConfigurationContainer extends Object implements Serializable- 
Serialized Fields- 
configurationXmlNode 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 Also:
 
- 
importedFromInputLocation importedFrom Location tracking
- 
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.
- 
locationsMap<Object, InputLocation> locations Locations
 
- 
 
- 
- 
Class org.apache.maven.api.model.Contributorclass Contributor extends Object implements Serializable- 
Serialized Fields- 
emailString email The email address of the contributor.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
nameString name The full name of the contributor.
- 
organizationString organization The organization to which the contributor belongs.
- 
organizationUrlString organizationUrl The URL of the organization.
- 
propertiesMap<String, String> properties Properties about the contributor, such as an instant messenger handle.
- 
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.
- 
timezoneString timezone 
- 
urlString url The URL for the homepage of the contributor.
 
- 
 
- 
- 
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.
- 
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 
- 
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.
- 
groupIdString groupId The project group that produced the dependency, e.g.org.apache.maven.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations 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.
- 
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.
- 
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}.
- 
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.
- 
versionString version The version requirement of the dependency, e.g.3.2.1. The actual version will be resolved based on the usage context. Version requirement can also be specified as a range of versions, e.g.[3.2.0,). This is discouraged as it may break predictability of resolved version. See dependency version requirement documentation and transitive dependencies resolution for more details.
 
- 
 
- 
- 
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.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations 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
 
- 
 
- 
- 
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.
 
- 
 
- 
- 
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.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
relocationRelocation relocation Relocation information of the artifact if it has been moved to a new group ID and/or artifact ID.
- 
repositoryDeploymentRepository repository Information needed to deploy the artifacts generated by the project to a remote repository.
- 
siteSite site Information needed for deploying the web site of the project.
- 
snapshotRepositoryDeploymentRepository snapshotRepository Where to deploy snapshots of artifacts to. If not given, it defaults to therepositoryelement.
- 
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 repository. Valid values are:none(default),converted(repository manager converted this from a 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).
 
- 
 
- 
- 
Class org.apache.maven.api.model.Exclusionclass Exclusion extends Object implements Serializable- 
Serialized Fields- 
artifactIdString artifactId The artifact ID of the project to exclude.
- 
groupIdString groupId The group ID of the project to exclude.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
 
- 
 
- 
- 
Class org.apache.maven.api.model.Extensionclass Extension extends Object implements Serializable- 
Serialized Fields- 
artifactIdString artifactId The artifact ID of the extension.
- 
configurationXmlNode configuration The configuration of the extension.- Since:
- Maven 4.0.0
 
- 
groupIdString groupId The group ID of the extension's artifact.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
versionString version The version of the extension.
 
- 
 
- 
- 
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.
 
- 
 
- 
- 
Class org.apache.maven.api.model.InputLocationclass InputLocation extends Object implements Serializable- 
Serialized Fields- 
columnNumberint columnNumber 
- 
importedFromInputLocation importedFrom 
- 
lineNumberint lineNumber 
- 
locationsMap<Object, InputLocation> locations 
- 
sourceInputSource source 
 
- 
 
- 
- 
Class org.apache.maven.api.model.InputSourceclass InputSource extends Object implements Serializable- 
Serialized Fields- 
importedFromInputLocation importedFrom 
- 
inputsList<InputSource> inputs 
- 
locationString location 
- 
modelIdString modelId 
 
- 
 
- 
- 
Class org.apache.maven.api.model.IssueManagementclass IssueManagement extends Object implements Serializable- 
Serialized Fields- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
systemString system The name of the issue management system, e.g. Bugzilla
- 
urlString url URL for the issue management system used by the project.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Licenseclass License extends Object implements Serializable- 
Serialized Fields- 
commentsString comments Addendum information pertaining to this license.
- 
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.
 
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
nameString name The full legal name of the license.
- 
urlString url The official url for the license text.
 
- 
 
- 
- 
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.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
nameString name The name of the mailing list.
- 
otherArchivesList<String> otherArchives The link to alternate URLs where you can browse the list archive.
- 
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.
- 
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.
- 
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.
 
- 
 
- 
- 
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.
- 
buildBuild build Information required to build the project.
- 
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 actuallyBooleanDefault value is: true- Since:
- Maven 3.6.1
 
- 
ciManagementCiManagement ciManagement The project's continuous integration information.
- 
contributorsList<Contributor> contributors Describes the contributors to a project that are not yet committers.
- 
descriptionString description A detailed description of the project, used by Maven whenever it needs to describe the project, such as on the website. 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 website, you are able to specify your own instead of adjusting this text.
- 
developersList<Developer> developers Describes the committers of a project.
- 
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).
- 
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.
- 
issueManagementIssueManagement issueManagement The project's issue management system information.
- 
licensesList<License> licenses This element describes all 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.
- 
mailingListsList<MailingList> mailingLists Contains information about a project's mailing lists.
- 
modelEncodingString modelEncoding 
- 
modelVersionString modelVersion Declares to which version of project descriptor this POM conforms.
- 
nameString name The full name of the project.
- 
namespaceUriString namespaceUri 
- 
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).
- 
packagingString 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.
- 
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.
- 
pomFilePath pomFile Originating POM file
- 
prerequisitesPrerequisites prerequisites Describes the prerequisites in the build environment for this project.
- 
preserveModelVersionboolean preserveModelVersion Indicates if the build POM for this project should be preserved or downgraded to the lowest compatible version.- Since:
- Maven 4.0.0
 
- 
profilesList<Profile> profiles A listing of project-local build profiles which will modify the build process when activated.
- 
rootboolean root Indicates that this project is the root project, located in the upper directory of the source tree. This is the directory which may contain the .mvn directory.- Since:
- Maven 4.0.0
 
- 
scmScm scm Specification for the SCM used by the project, such as CVS, Subversion, etc.
- 
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's child.project.url.inherit.append.path="false"
- 
versionString version The current version of the artifact produced by this project.
 
- 
 
- 
- 
Class org.apache.maven.api.model.ModelBaseclass ModelBase extends Object implements Serializable- 
Serialized Fields- 
dependenciesList<Dependency> dependencies This element describes all 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 Also:
 
- 
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.
- 
distributionManagementDistributionManagement distributionManagement Distribution information for a project that enables deployment of the site and artifacts to remote web servers and repositories respectively.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
modulesList<String> modules Deprecated.UseModelBase.subprojectsinstead.
- 
pluginRepositoriesList<Repository> pluginRepositories The lists of the remote repositories for discovering plugins for builds and reports.
- 
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>.
- 
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 the reports will be included in the navigation bar for browsing.
- 
repositoriesList<Repository> repositories The lists of the remote repositories for discovering dependencies and extensions.
- 
subprojectsList<String> subprojects The subprojects (formerly called modules) to build as a part of this project. Each subproject listed is a relative path to the directory containing the subproject. To be consistent with the way default URLs are calculated from parent, it is recommended to have subproject names match artifact ids.
 
- 
 
- 
- 
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.
- 
configurationMap<String, String> configuration Extended configuration specific to this notifier goes here.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
sendOnErrorboolean sendOnError Whether to send notifications on error.
- 
sendOnFailureboolean sendOnFailure Whether to send notifications on failure.
- 
sendOnSuccessboolean sendOnSuccess Whether to send notifications on success.
- 
sendOnWarningboolean sendOnWarning Whether to send notifications on warning.
- 
typeString type The mechanism used to deliver notifications.
 
- 
 
- 
- 
Class org.apache.maven.api.model.Organizationclass Organization extends Object implements Serializable- 
Serialized Fields- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
nameString name The full name of the organization.
- 
urlString url The URL to the organization's home page.
 
- 
 
- 
- 
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.
- 
groupIdString groupId The group id of the parent project to inherit from.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
relativePathString relativePath The relative path of the parent subproject POM file or directory within the checkout. If not specified, it defaults to.., i.e. the parent directory. Maven looks for the parent POM first in this location on the filesystem if explicitly provided, then in the reactor if groupId and artifactId are provided, then in the default parent directory, then the local repository, and lastly in the remote repo. However, if the both relative path and the group ID / artifact ID are provided, they must match the file in the location given. Specify either therelativePathor thegroupId/artifactId, not both.
- 
versionString version The version of the parent project to inherit.
 
- 
 
- 
- 
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
- 
importedFromInputLocation importedFrom Location tracking
- 
includesList<String> includes A list of patterns to include, e.g.**/*.xml.
- 
locationsMap<Object, InputLocation> locations 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.
- 
dependenciesList<Dependency> dependencies Additional dependencies that this project needs to introduce to the plugin's classloader.
- 
executionsList<PluginExecution> executions Multiple specifications of a set of goals to execute during the build lifecycle, each having (possibly) a different configuration.
- 
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.
- 
groupIdString groupId The group ID of the plugin in the repository.
- 
versionString version The version (or valid range of versions) of the plugin to be used.
 
- 
 
- 
- 
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.
 
- 
 
- 
- 
Class org.apache.maven.api.model.PluginContainerclass PluginContainer extends Object implements Serializable- 
Serialized Fields- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
pluginMapMap<String, Plugin> pluginMap 
- 
pluginsList<Plugin> plugins The list of plugins to use.
 
- 
 
- 
- 
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.
- 
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.
- 
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.
- 
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. 
 
- 
 
- 
- 
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- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
mavenString maven For a plugin project (packaging ismaven-plugin), the minimum version of Maven required to use the resulting plugin.
 
- 
 
- 
- 
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.
- 
buildBuildBase build Information required to build the project.
- 
idString id The identifier of this build profile. This is used for command line activation, and identifies profiles to be merged.
- 
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.
- 
groupIdString groupId The group ID the artifact has moved to.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
messageString message An additional message to show the user about the move, such as the reason.
- 
versionString version The new version of the artifact.
 
- 
 
- 
- 
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.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
outputDirectoryString outputDirectory Where to store all the generated reports. The default is${project.build.directory}/site.
- 
pluginsList<ReportPlugin> plugins The reporting plugins to use and their configuration.
 
- 
 
- 
- 
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.
- 
groupIdString groupId The group ID of the reporting plugin in the repository.
- 
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.
- 
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.
 
- 
 
- 
- 
Class org.apache.maven.api.model.ReportSetclass ReportSet extends ConfigurationContainer implements Serializable
- 
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.
- 
snapshotsRepositoryPolicy snapshots How to handle downloading of snapshots from this repository.
 
- 
 
- 
- 
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.
- 
importedFromInputLocation importedFrom Location tracking
- 
layoutString layout The type of layout this repository uses for locating and storing artifacts - can belegacyordefault.
- 
locationsMap<Object, InputLocation> locations Locations
- 
nameString name Human readable name of the repository.
- 
urlString url The url of the repository, in the formprotocol://hostname/path.
 
- 
 
- 
- 
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 3).
- 
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.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
updatePolicyString updatePolicy The frequency for downloading updates - can bealways,daily(default),interval:XXX(in minutes) ornever(only if it doesn't exist locally).
 
- 
 
- 
- 
Class org.apache.maven.api.model.Resourceclass Resource extends FileSet implements Serializable- 
Serialized Fields- 
filteringString filtering Deprecated.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.
- 
targetPathString targetPath Deprecated.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.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 actuallyBooleanDefault value is: true- Since:
- Maven 3.6.1
 
- 
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 actuallyBooleanDefault value is: true- Since:
- Maven 3.6.1
 
- 
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
 
- 
connectionString connection The source control management system URL that describes the repository and how to connect to the repository. 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"- See Also:
 
- 
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's child.scm.developerConnection.inherit.append.path="false".
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
tagString tag The tag of current code. By default, it's set to HEAD during development.
- 
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's child.scm.url.inherit.append.path="false"
 
- 
 
- 
- 
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 actuallyBooleanDefault value is: true- Since:
- Maven 3.6.1
 
- 
idString id A unique identifier for a deployment location. This is used to match the site to configuration in thesettings.xmlfile, for example.
- 
importedFromInputLocation importedFrom Location tracking
- 
locationsMap<Object, InputLocation> locations Locations
- 
nameString name Human readable name of the deployment location.
- 
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's child.site.url.inherit.append.path="false".
 
- 
 
- 
- 
Class org.apache.maven.api.model.Sourceclass Source extends FileSet implements Serializable- 
Serialized Fields- 
enabledboolean enabled Whether the directory described by this source element should be included in the build. This flag provides an easy way to include or exclude some sources depending, for example, o property values defined in profiles. A use case is including optional resources only when the user confirmed a license agreement.The default value is true.
- 
langString lang Specifies the language of the source files - typicallyjavaorresources. Resources is used as a generic term for scripting languages (e.g., JavaScript or Python) or markup languages (e.g. properties file, JSON or XML).The java language is used for specifying a directory containing the Java sources of the project. The generated build system will compile the sources from this directory using the Java compiler when the project is built. The path given in the directoryfield is relative to the project descriptor. The default directory for the main Java sources is"src/main/java".The resources language is used for specifying a directory containing the class-path or module-path resources such as properties files or scripts associated with a project. This directory is meant to be different from the main source directory, in that its contents will be copied to the output directory in most cases (since scripts are interpreted rather than compiled). The default directory for the main resources is "src/main/resources".If no language is specified, the default is java.
- 
moduleString module Name of the Java module (or other language-specific module) which is built by the sources. This element can be specified in a Maven project containing multiple Java modules. It is generally not needed for non-modular projects, or for modular projects having only one module.If a module name is specified for resources or script files, then this value modifies the directory where the files will be copied. For example, if a Java module name is "foo.biz", then the foo/bar.propertiesresource file will be copied asfoo.biz/foo/bar.properties.This element can be combined with the targetVersionelement for specifying sources, scripts, or resources that are specific to both a particular module and a target version.
- 
scopeString scope Specifies in which context the source files will be used - typicallymainortest.The main scope is used for specifying 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 in the directoryfield is relative to the project descriptor. The default directory for the default language (Java) is"src/main/java".The test scope is used for specifying 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 in the directoryfield is relative to the project descriptor. The default directory for the default language (Java) is"src/test/java".If no scope is specified, the default is main.
- 
stringFilteringboolean stringFiltering Whether resources are filtered to replace tokens with parameterized values. The values are taken from thepropertieselement and from the properties in the files listed in thefilterselement.The default value is false.
- 
targetPathString targetPath Specifies an explicit target path, overriding the default value. The path is relative to the${project.build.outputDirectory}directory, which is typicallytarget/classesin a Java project.When a target path is explicitly specified, the values of the moduleandtargetVersionelements are not used for inferring the path (they are still used as compiler options however). It means that for scripts and resources, the files below the path specified bydirectoryare copied to the path specified bytargetPathwith the exact same directory structure. It is user's responsibility to put module and version components in thetargetPathif needed.Note that for Java source files, a directory with the module name may still be generated despite above statement about modulebeing ignored, because that directory is generated by the Java compiler rather than Maven.
- 
targetVersionString targetVersion The version of the platform where the code will be executed. In a Java environment, this is the value of the--releasecompiler option. If a Java project contains multiple main sources with different target versions, then a multi-version JAR file will be created with the lowest version taken as the base version. If this element is omitted, then the default target version is the compiler default value, which is usually the version of the Java environment running Maven.If a target version, different from the base version, is specified for resources or script files, then this value modifies the directory where the files will be copied. For example, if targetVersionis 17, then thefoo/bar.propertiesresource file will be copied asMETA-INF/versions/17/foo/bar.properties.This element can be combined with the moduleelement for specifying sources, scripts, or resources that are specific to both a particular module and a target version.
 
- 
 
- 
 
- 
<Source>withscriptlanguage.