Serialized Form
-
Package org.apache.maven
-
Error org.apache.maven.BuildAbort
class BuildAbort extends Error implements Serializable -
Exception org.apache.maven.BuildFailureException
class BuildFailureException extends Exception implements Serializable -
Exception org.apache.maven.DuplicateProjectException
class DuplicateProjectException extends MavenExecutionException implements Serializable -
Exception org.apache.maven.InternalErrorException
class InternalErrorException extends MavenExecutionException implements Serializable -
Exception org.apache.maven.MavenExecutionException
class MavenExecutionException extends Exception implements Serializable-
Serialized Fields
-
pomFile
File pomFile
-
-
-
Exception org.apache.maven.MissingProfilesException
class MissingProfilesException extends Exception implements Serializable -
Exception org.apache.maven.ProjectBuildFailureException
class ProjectBuildFailureException extends BuildFailureException implements Serializable-
Serialized Fields
-
projectId
String projectId
-
-
-
Exception org.apache.maven.ProjectCycleException
class ProjectCycleException extends BuildFailureException implements Serializable
-
-
Package org.apache.maven.api.cli
-
Exception org.apache.maven.api.cli.ExecutorException
class ExecutorException extends RuntimeException implements Serializable -
Exception org.apache.maven.api.cli.InvokerException
class InvokerException extends MavenException implements Serializable -
Exception org.apache.maven.api.cli.InvokerException.ExitException
class ExitException extends InvokerException implements Serializable-
Serialized Fields
-
exitCode
int exitCode
-
-
-
Exception org.apache.maven.api.cli.ParserException
class ParserException extends MavenException implements Serializable
-
-
Package org.apache.maven.api.cli.extensions
-
Class org.apache.maven.api.cli.extensions.CoreExtension
class CoreExtension extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact ID of the extension. -
classLoadingStrategy
String classLoadingStrategy
The class loading strategy: 'self-first' (the default), 'parent-first' (loads classes from the parent, then from the extension) or 'plugin' (follows the rules from extensions defined as plugins). -
configuration
XmlNode configuration
-
groupId
String groupId
The group ID of the extension's artifact. -
version
String version
The version of the extension.
-
-
-
Class org.apache.maven.api.cli.extensions.CoreExtensions
class CoreExtensions extends Object implements Serializable-
Serialized Fields
-
extensions
List<CoreExtension> extensions
A set of build extensions to use from this project. -
modelEncoding
String modelEncoding
-
namespaceUri
String namespaceUri
-
-
-
-
Package org.apache.maven.api.metadata
-
Class org.apache.maven.api.metadata.Metadata
class Metadata extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifactId when this directory represents "groupId/artifactId" or "groupId/artifactId/version". -
groupId
String groupId
The groupId when this directory represents "groupId/artifactId" or "groupId/artifactId/version". -
modelEncoding
String modelEncoding
-
modelVersion
String modelVersion
The version of the underlying metadata model. -
namespaceUri
String namespaceUri
-
plugins
List<Plugin> plugins
The set of plugins when this directory represents a "groupId". -
version
String version
The base version (i.e. ending in-SNAPSHOT
) when this directory represents a "groupId/artifactId/version" for a SNAPSHOT. -
versioning
Versioning versioning
Versioning information when this directory represents "groupId/artifactId" or "groupId/artifactId/version".
-
-
-
Class org.apache.maven.api.metadata.Plugin
class Plugin extends Object implements Serializable -
Class org.apache.maven.api.metadata.Snapshot
class Snapshot extends Object implements Serializable-
Serialized Fields
-
buildNumber
int buildNumber
The incremental build number -
localCopy
boolean localCopy
Whether to use a local copy instead (with filename that includes the base version) -
timestamp
String timestamp
The timestamp when this version was deployed. The timestamp is expressed using UTC in the format yyyyMMdd.HHmmss.
-
-
-
Class org.apache.maven.api.metadata.SnapshotVersion
class SnapshotVersion extends Object implements Serializable-
Serialized Fields
-
classifier
String classifier
The classifier of the sub-artifact. Each classifier and extension pair may only appear once. -
extension
String extension
The file extension of the sub-artifact. Each classifier and extension pair may only appear once. -
updated
String updated
The timestamp when this version information was last updated. The timestamp is expressed using UTC in the format yyyyMMddHHmmss. -
version
String version
The resolved snapshot version of the sub-artifact.
-
-
-
Class org.apache.maven.api.metadata.Versioning
class Versioning extends Object implements Serializable-
Serialized Fields
-
lastUpdated
String lastUpdated
When the metadata was last updated (both "groupId/artifactId" and "groupId/artifactId/version" directories). The timestamp is expressed using UTC in the format yyyyMMddHHmmss. -
latest
String latest
What the last version added to the directory is, including both releases and snapshots ("groupId/artifactId" directory only) -
release
String release
What the last version added to the directory is, for the releases only ("groupId/artifactId" directory only) -
snapshot
Snapshot snapshot
The current snapshot data in use for this version ("groupId/artifactId/version" only) -
snapshotVersions
List<SnapshotVersion> snapshotVersions
Information for each sub-artifact available in this artifact snapshot. This is only the most recent SNAPSHOT for each unique extension/classifier combination. -
versions
List<String> versions
Versions available of the artifact (both releases and snapshots) ("groupId/artifactId" directory only)
-
-
-
-
Package org.apache.maven.api.model
-
Class org.apache.maven.api.model.Activation
class Activation extends Object implements Serializable-
Serialized Fields
-
activeByDefault
boolean activeByDefault
If set to true, this profile will be active unless another profile in this pom is activated using the command line -P option or by one of that profile's activators. -
condition
String condition
The condition which must be satisfied to activate the profile. -
file
ActivationFile file
Specifies that this profile will be activated based on existence of a file. -
importedFrom
InputLocation importedFrom
Location tracking -
jdk
String jdk
Specifies that this profile will be activated when a matching JDK is detected. For example,1.4
only activates on JDKs versioned 1.4, while!1.4
matches any JDK that is not version 1.4. Ranges are supported too:[1.5,)
activates when the JDK is 1.5 minimum. -
locations
Map<Object,
InputLocation> locations Locations -
os
ActivationOS os
Specifies that this profile will be activated when matching operating system attributes are detected. -
packaging
String packaging
Specifies that this profile will be activated based on the project's packaging. -
property
ActivationProperty property
Specifies that this profile will be activated when this property is specified.
-
-
-
Class org.apache.maven.api.model.ActivationFile
class ActivationFile extends Object implements Serializable-
Serialized Fields
-
exists
String exists
The name of the file that must exist to activate the profile. Please note, that missing and exists fields cannot be used together. Only one of them should be used at any one time. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
missing
String 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.ActivationOS
class ActivationOS extends Object implements Serializable-
Serialized Fields
-
arch
String arch
The architecture of the operating system to be used to activate the profile. -
family
String family
The general family of the OS to be used to activate the profile, such aswindows
orunix
. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
name
String name
The name of the operating system to be used to activate the profile. This must be an exact match of the${os.name}
Java property, such asWindows XP
. -
version
String version
The version of the operating system to be used to activate the profile.
-
-
-
Class org.apache.maven.api.model.ActivationProperty
class ActivationProperty extends Object implements Serializable-
Serialized Fields
-
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
name
String name
The name of the property to be used to activate a profile. -
value
String value
The value of the property required to activate a profile.
-
-
-
Class org.apache.maven.api.model.Build
class Build extends BuildBase implements Serializable-
Serialized Fields
-
extensions
List<Extension> extensions
A set of build extensions to use from this project. -
outputDirectory
String outputDirectory
The directory where compiled application classes are placed. The default value istarget/classes
. -
scriptSourceDirectory
String scriptSourceDirectory
This element specifies a directory containing the script sources of the project. This directory is meant to be different from the sourceDirectory, in that its contents will be copied to the output directory in most cases (since scripts are interpreted rather than compiled). The default value issrc/main/scripts
. -
sourceDirectory
String sourceDirectory
This element specifies a directory containing the source of the project. The generated build system will compile the sources from this directory when the project is built. The path given is relative to the project descriptor. The default value issrc/main/java
. -
testOutputDirectory
String testOutputDirectory
The directory where compiled test classes are placed. The default value istarget/test-classes
. -
testSourceDirectory
String testSourceDirectory
This element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor. The default value issrc/test/java
.
-
-
-
Class org.apache.maven.api.model.BuildBase
class BuildBase extends PluginConfiguration implements Serializable-
Serialized Fields
-
defaultGoal
String defaultGoal
The default goal (or phase in Maven 2) to execute when none is specified for the project. Note that in case of a 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. -
directory
String directory
The directory where all files generated by the build are placed. The default value istarget
. -
filters
List<String> filters
The list of filter properties files that are used when filtering is enabled. -
finalName
String finalName
The filename (excluding the extension, and with no path information) that the produced artifact will be called. The default value is${artifactId}-${version}
. -
resources
List<Resource> resources
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
. -
testResources
List<Resource> testResources
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.CiManagement
class CiManagement extends Object implements Serializable-
Serialized Fields
-
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
notifiers
List<Notifier> notifiers
Configuration for notifying developers/users when a build is unsuccessful, including user information and notification mode. -
system
String system
The name of the continuous integration system, e.g.continuum
. -
url
String url
URL for the continuous integration system used by the project if it has a web interface.
-
-
-
Class org.apache.maven.api.model.ConfigurationContainer
class ConfigurationContainer extends Object implements Serializable-
Serialized Fields
-
configuration
XmlNode configuration
The configuration as DOM object.
By default, every element content is trimmed, but starting with Maven 3.1.0, you can add
xml:space="preserve"
to elements you want to preserve whitespace.You can control how child POMs inherit configuration from parent POMs by adding
combine.children
orcombine.self
attributes to the children of the configuration element:combine.children
: available values aremerge
(default) andappend
,combine.self
: available values aremerge
(default) andoverride
.
- See Also:
-
importedFrom
InputLocation importedFrom
Location tracking -
inherited
String inherited
Whether any configuration should be propagated to child POMs. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value istrue
. -
locations
Map<Object,
InputLocation> locations Locations
-
-
-
Class org.apache.maven.api.model.Contributor
class Contributor extends Object implements Serializable-
Serialized Fields
-
email
String email
The email address of the contributor. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
name
String name
The full name of the contributor. -
organization
String organization
The organization to which the contributor belongs. -
organizationUrl
String organizationUrl
The URL of the organization. -
properties
Map<String,
String> properties Properties about the contributor, such as an instant messenger handle. -
roles
List<String> roles
The roles the contributor plays in the project. Each role is described by arole
element, the body of which is a role name. This can also be used to describe the contribution. -
timezone
String timezone
-
url
String url
The URL for the homepage of the contributor.
-
-
-
Class org.apache.maven.api.model.Dependency
class Dependency extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The unique id for an artifact produced by the project group, e.g.maven-artifact
. -
classifier
String classifier
The classifier of the dependency. It is appended to the filename after the version. This allows:- referring to attached artifact, for example
sources
andjavadoc
: see default artifact handlers for a list, - distinguishing two artifacts
that belong to the same POM but were built differently.
For example,
jdk14
andjdk15
.
- referring to attached artifact, for example
-
exclusions
List<Exclusion> exclusions
Lists a set of artifacts that should be excluded from this dependency's artifact list when it comes to calculating transitive dependencies. -
groupId
String groupId
The project group that produced the dependency, e.g.org.apache.maven
. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
managementKey
String managementKey
-
optional
String optional
Indicates the dependency is optional for use of this library. While the version of the dependency will be taken into account for dependency calculation if the library is used elsewhere, it will not be passed on transitively. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value isfalse
. -
scope
String scope
The scope of the dependency -compile
,runtime
,test
,system
, andprovided
. Used to calculate the various classpaths used for compilation, testing, and so on. It also assists in determining which artifacts to include in a distribution of this project. For more information, see the dependency mechanism. The default scope iscompile
. -
systemPath
String systemPath
FOR SYSTEM SCOPE ONLY. Note that use of this property is discouraged and may be replaced in later versions. This specifies the path on the filesystem for this dependency. Requires an absolute path for the value, not relative. Use a property that gives the machine specific absolute path, e.g.${java.home}
. -
type
String type
The type of dependency, that will be mapped to a file extension, an optional classifier, and a few other attributes. Some examples arejar
,war
,ejb-client
andtest-jar
: see default artifact handlers for a list. New types can be defined by extensions, so this is not a complete list. -
version
String version
The version of the dependency, e.g.3.2.1
. Since Maven 2, this can also be specified as a range of versions.
-
-
-
Class org.apache.maven.api.model.DependencyManagement
class DependencyManagement extends Object implements Serializable-
Serialized Fields
-
dependencies
List<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. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations
-
-
-
Class org.apache.maven.api.model.DeploymentRepository
class DeploymentRepository extends Repository implements Serializable-
Serialized Fields
-
uniqueVersion
boolean uniqueVersion
Whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time
-
-
-
Class org.apache.maven.api.model.Developer
class Developer extends Contributor implements Serializable-
Serialized Fields
-
id
String id
The unique ID of the developer in the SCM.
-
-
-
Class org.apache.maven.api.model.DistributionManagement
class DistributionManagement extends Object implements Serializable-
Serialized Fields
-
downloadUrl
String downloadUrl
The URL of the project's download page. If not given users will be referred to the homepage given byurl
. This is given to assist in locating artifacts that are not in the repository due to licensing restrictions. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
relocation
Relocation relocation
Relocation information of the artifact if it has been moved to a new group ID and/or artifact ID. -
repository
DeploymentRepository repository
Information needed to deploy the artifacts generated by the project to a remote repository. -
site
Site site
Information needed for deploying the web site of the project. -
snapshotRepository
DeploymentRepository snapshotRepository
Where to deploy snapshots of artifacts to. If not given, it defaults to therepository
element. -
status
String status
Gives the status of this artifact in the remote repository. This must not be set in your local project, as it is updated by tools placing it in the repository. 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).
-
-
-
Class org.apache.maven.api.model.Exclusion
class Exclusion extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact ID of the project to exclude. -
groupId
String groupId
The group ID of the project to exclude. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations
-
-
-
Class org.apache.maven.api.model.Extension
class Extension extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact ID of the extension. -
configuration
XmlNode configuration
The configuration of the extension.- Since:
- Maven 4.0.0
-
groupId
String groupId
The group ID of the extension's artifact. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
version
String version
The version of the extension.
-
-
-
Class org.apache.maven.api.model.FileSet
class FileSet extends PatternSet implements Serializable-
Serialized Fields
-
directory
String directory
Describe the directory where the resources are stored. The path is relative to the POM.
-
-
-
Class org.apache.maven.api.model.InputLocation
class InputLocation extends Object implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
-
importedFrom
InputLocation importedFrom
-
lineNumber
int lineNumber
-
locations
Map<Object,
InputLocation> locations -
source
InputSource source
-
-
-
Class org.apache.maven.api.model.InputSource
class InputSource extends Object implements Serializable-
Serialized Fields
-
importedFrom
InputLocation importedFrom
-
inputs
List<InputSource> inputs
-
location
String location
-
modelId
String modelId
-
-
-
Class org.apache.maven.api.model.IssueManagement
class IssueManagement extends Object implements Serializable-
Serialized Fields
-
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
system
String system
The name of the issue management system, e.g. Bugzilla -
url
String url
URL for the issue management system used by the project.
-
-
-
Class org.apache.maven.api.model.License
class License extends Object implements Serializable-
Serialized Fields
-
comments
String comments
Addendum information pertaining to this license. -
distribution
String distribution
The primary method by which this project may be distributed.- repo
- may be downloaded from the Maven repository
- manual
- user must manually download and install the dependency.
-
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
name
String name
The full legal name of the license. -
url
String url
The official url for the license text.
-
-
-
Class org.apache.maven.api.model.MailingList
class MailingList extends Object implements Serializable-
Serialized Fields
-
archive
String archive
The link to a URL where you can browse the mailing list archive. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
name
String name
The name of the mailing list. -
otherArchives
List<String> otherArchives
The link to alternate URLs where you can browse the list archive. -
post
String post
The email address or link that can be used to post to the mailing list. If this is an email address, amailto:
link will automatically be created when the documentation is created. -
subscribe
String subscribe
The email address or link that can be used to subscribe to the mailing list. If this is an email address, amailto:
link will automatically be created when the documentation is created. -
unsubscribe
String unsubscribe
The email address or link that can be used to unsubscribe to the mailing list. If this is an email address, amailto:
link will automatically be created when the documentation is created.
-
-
-
Class org.apache.maven.api.model.Model
class Model extends ModelBase implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The identifier for this artifact that is unique within the group given by the group ID. An artifact is something that is either produced or used by a project. Examples of artifacts produced by Maven for a project include: JARs, source and binary distributions, and WARs. -
build
Build build
Information required to build the project. -
childProjectUrlInheritAppendPath
String childProjectUrlInheritAppendPath
When children inherit from project's url, append path or not? Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
Default value is:
true
- Since:
- Maven 3.6.1
-
ciManagement
CiManagement ciManagement
The project's continuous integration information. -
contributors
List<Contributor> contributors
Describes the contributors to a project that are not yet committers. -
description
String 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. -
developers
List<Developer> developers
Describes the committers of a project. -
groupId
String groupId
A universally unique identifier for a project. It is normal to use a fully-qualified package name to distinguish it from other projects with a similar name (eg.org.apache.maven
). -
inceptionYear
String inceptionYear
The year of the project's inception, specified with 4 digits. This value is used when generating copyright notices as well as being informational. -
issueManagement
IssueManagement issueManagement
The project's issue management system information. -
licenses
List<License> licenses
This element describes all the licenses for this project. Each license is described by alicense
element, 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. -
mailingLists
List<MailingList> mailingLists
Contains information about a project's mailing lists. -
modelEncoding
String modelEncoding
-
modelVersion
String modelVersion
Declares to which version of project descriptor this POM conforms. -
name
String name
The full name of the project. -
namespaceUri
String namespaceUri
-
organization
Organization organization
This element describes various attributes of the organization to which the project belongs. These attributes are utilized when documentation is created (for copyright notices and links). -
packaging
String packaging
The type of artifact this project produces, for examplejar
,war
,ear
,pom
. Plugins can create their own packaging, and therefore their own packaging types, so this list does not contain all possible types. -
parent
Parent parent
The location of the parent project, if one exists. Values from the parent project will be the default for this project if they are left unspecified. The location is given as a group ID, artifact ID and version. -
pomFile
Path pomFile
Originating POM file -
prerequisites
Prerequisites prerequisites
Describes the prerequisites in the build environment for this project. -
preserveModelVersion
boolean preserveModelVersion
Indicates if the build POM for this project should be preserved or downgraded to the lowest compatible version.- Since:
- Maven 4.0.0
-
profiles
List<Profile> profiles
A listing of project-local build profiles which will modify the build process when activated. -
root
boolean 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
-
scm
Scm scm
Specification for the SCM used by the project, such as CVS, Subversion, etc. -
url
String url
The URL to the project's homepage.Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if project's
child.project.url.inherit.append.path="false"
-
version
String version
The current version of the artifact produced by this project.
-
-
-
Class org.apache.maven.api.model.ModelBase
class ModelBase extends Object implements Serializable-
Serialized Fields
-
dependencies
List<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:
-
dependencyManagement
DependencyManagement dependencyManagement
Default dependency information for projects that inherit from this one. The dependencies in this section are not immediately resolved. Instead, when a POM derived from this one declares a dependency described by a matching groupId and artifactId, the version and other values from this section are used for that dependency if they were not already specified. -
distributionManagement
DistributionManagement distributionManagement
Distribution information for a project that enables deployment of the site and artifacts to remote web servers and repositories respectively. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
modules
List<String> modules
Deprecated. -
pluginRepositories
List<Repository> pluginRepositories
The lists of the remote repositories for discovering plugins for builds and reports. -
properties
Map<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>
. -
reporting
Reporting reporting
This element includes the specification of report plugins to use to generate the reports on the Maven-generated site. These reports will be run when a user executesmvn site
. All the reports will be included in the navigation bar for browsing. -
repositories
List<Repository> repositories
The lists of the remote repositories for discovering dependencies and extensions. -
subprojects
List<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.Notifier
class Notifier extends Object implements Serializable-
Serialized Fields
-
address
String address
Deprecated.Where to send the notification to - eg email address. -
configuration
Map<String,
String> configuration Extended configuration specific to this notifier goes here. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
sendOnError
boolean sendOnError
Whether to send notifications on error. -
sendOnFailure
boolean sendOnFailure
Whether to send notifications on failure. -
sendOnSuccess
boolean sendOnSuccess
Whether to send notifications on success. -
sendOnWarning
boolean sendOnWarning
Whether to send notifications on warning. -
type
String type
The mechanism used to deliver notifications.
-
-
-
Class org.apache.maven.api.model.Organization
class Organization extends Object implements Serializable-
Serialized Fields
-
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
name
String name
The full name of the organization. -
url
String url
The URL to the organization's home page.
-
-
-
Class org.apache.maven.api.model.Parent
class Parent extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact id of the parent project to inherit from. -
groupId
String groupId
The group id of the parent project to inherit from. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
relativePath
String 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 therelativePath
or thegroupId
/artifactId
, not both. -
version
String version
The version of the parent project to inherit.
-
-
-
Class org.apache.maven.api.model.PatternSet
class PatternSet extends Object implements Serializable-
Serialized Fields
-
excludes
List<String> excludes
A list of patterns to exclude, e.g.**/*.xml
-
importedFrom
InputLocation importedFrom
Location tracking -
includes
List<String> includes
A list of patterns to include, e.g.**/*.xml
. -
locations
Map<Object,
InputLocation> locations Locations
-
-
-
Class org.apache.maven.api.model.Plugin
class Plugin extends ConfigurationContainer implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact ID of the plugin in the repository. -
dependencies
List<Dependency> dependencies
Additional dependencies that this project needs to introduce to the plugin's classloader. -
executions
List<PluginExecution> executions
Multiple specifications of a set of goals to execute during the build lifecycle, each having (possibly) a different configuration. -
extensions
String extensions
Whether to load Maven extensions (such as packaging and type handlers) from this plugin. For performance reasons, this should only be enabled when necessary. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value isfalse
. -
groupId
String groupId
The group ID of the plugin in the repository. -
version
String version
The version (or valid range of versions) of the plugin to be used.
-
-
-
Class org.apache.maven.api.model.PluginConfiguration
class PluginConfiguration extends PluginContainer implements Serializable-
Serialized Fields
-
pluginManagement
PluginManagement pluginManagement
Default plugin information to be made available for reference by projects derived from this one. This plugin configuration will not be resolved or bound to the lifecycle unless referenced. Any local configuration for a given plugin will override the plugin's entire definition here.
-
-
-
Class org.apache.maven.api.model.PluginContainer
class PluginContainer extends Object implements Serializable-
Serialized Fields
-
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
pluginMap
Map<String,
Plugin> pluginMap -
plugins
List<Plugin> plugins
The list of plugins to use.
-
-
-
Class org.apache.maven.api.model.PluginExecution
class PluginExecution extends ConfigurationContainer implements Serializable-
Serialized Fields
-
goals
List<String> goals
The goals to execute with the given configuration. -
id
String id
The identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection. -
phase
String phase
The build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default phase specified by the plugin. -
priority
int priority
The priority of this execution compared to other executions which are bound to the same phase.Warning: This is an internal utility property that is only public for technical reasons, it is not part of the public API. In particular, this property can be changed or deleted without prior notice.
-
-
-
Class org.apache.maven.api.model.PluginManagement
class PluginManagement extends PluginContainer implements Serializable -
Class org.apache.maven.api.model.Prerequisites
class Prerequisites extends Object implements Serializable-
Serialized Fields
-
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
maven
String maven
For a plugin project (packaging ismaven-plugin
), the minimum version of Maven required to use the resulting plugin.
In Maven 2, this was also specifying the minimum version of Maven required to build a project, but this usage is deprecated in Maven 3 and not checked any more: use the Maven Enforcer Plugin'srequireMavenVersion
rule instead.
-
-
-
Class org.apache.maven.api.model.Profile
class Profile extends ModelBase implements Serializable-
Serialized Fields
-
activation
Activation activation
The conditional logic which will automatically trigger the inclusion of this profile. -
build
BuildBase build
Information required to build the project. -
id
String id
The identifier of this build profile. This is used for command line activation, and identifies profiles to be merged. -
source
String source
-
-
-
Class org.apache.maven.api.model.Relocation
class Relocation extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The new artifact ID of the artifact. -
groupId
String groupId
The group ID the artifact has moved to. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
message
String message
An additional message to show the user about the move, such as the reason. -
version
String version
The new version of the artifact.
-
-
-
Class org.apache.maven.api.model.Reporting
class Reporting extends Object implements Serializable-
Serialized Fields
-
excludeDefaults
String excludeDefaults
If true, then the default reports are not included in the site generation. This includes the reports in the "Project Info" menu. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value isfalse
. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
outputDirectory
String outputDirectory
Where to store all the generated reports. The default is${project.build.directory}/site
. -
plugins
List<ReportPlugin> plugins
The reporting plugins to use and their configuration.
-
-
-
Class org.apache.maven.api.model.ReportPlugin
class ReportPlugin extends ConfigurationContainer implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact ID of the reporting plugin in the repository. -
groupId
String groupId
The group ID of the reporting plugin in the repository. -
reportSetMap
Map<String,
ReportSet> reportSetMap -
reportSets
List<ReportSet> reportSets
Multiple specifications of a set of reports, each having (possibly) different configuration. This is the reporting parallel to anexecution
in the build. -
version
String version
The version of the reporting plugin to be used. Starting with Maven 3, if no version is defined explicitly, version is searched inbuild/plugins
then inbuild/pluginManagement
.
-
-
-
Class org.apache.maven.api.model.ReportSet
class ReportSet extends ConfigurationContainer implements Serializable -
Class org.apache.maven.api.model.Repository
class Repository extends RepositoryBase implements Serializable-
Serialized Fields
-
releases
RepositoryPolicy releases
How to handle downloading of releases from this repository. -
snapshots
RepositoryPolicy snapshots
How to handle downloading of snapshots from this repository.
-
-
-
Class org.apache.maven.api.model.RepositoryBase
class RepositoryBase extends Object implements Serializable-
Serialized Fields
-
id
String id
A unique identifier for a repository. This is used to match the repository to configuration in thesettings.xml
file, for example. Furthermore, the identifier is used during POM inheritance and profile injection to detect repositories that should be merged. -
importedFrom
InputLocation importedFrom
Location tracking -
layout
String layout
The type of layout this repository uses for locating and storing artifacts - can belegacy
ordefault
. -
locations
Map<Object,
InputLocation> locations Locations -
name
String name
Human readable name of the repository. -
url
String url
The url of the repository, in the formprotocol://hostname/path
.
-
-
-
Class org.apache.maven.api.model.RepositoryPolicy
class RepositoryPolicy extends Object implements Serializable-
Serialized Fields
-
checksumPolicy
String checksumPolicy
What to do when verification of an artifact checksum fails. Valid values areignore
,fail
(default for Maven 4 and above) orwarn
(default for Maven 2 and 3). -
enabled
String enabled
Whether to use this repository for downloading this type of artifact. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value istrue
. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
updatePolicy
String updatePolicy
The frequency for downloading updates - can bealways
,daily
(default),interval:XXX
(in minutes) ornever
(only if it doesn't exist locally).
-
-
-
Class org.apache.maven.api.model.Resource
class Resource extends FileSet implements Serializable-
Serialized Fields
-
filtering
String filtering
Whether resources are filtered to replace tokens with parameterised values or not. The values are taken from theproperties
element and from the properties in the files listed in thefilters
element. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
. Default value isfalse
. -
mergeId
String mergeId
FOR INTERNAL USE ONLY. This is a unique identifier assigned to each resource to allow Maven to merge changes to this resource that take place during the execution of a plugin. This field must be managed by the generated parser and formatter classes in order to allow it to survive model interpolation. -
targetPath
String targetPath
Describe the resource target path. The path is relative to the target/classes directory (i.e.${project.build.outputDirectory}
). For example, if you want that resource to appear in a specific package (org.apache.maven.messages
), you must specify this element with this value:org/apache/maven/messages
. This is not required if you simply put the resources in that directory structure at the source, however.
-
-
-
Class org.apache.maven.api.model.Scm
class Scm extends Object implements Serializable-
Serialized Fields
-
childScmConnectionInheritAppendPath
String childScmConnectionInheritAppendPath
When children inherit from scm connection, append path or not? Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
Default value is:
true
- Since:
- Maven 3.6.1
-
childScmDeveloperConnectionInheritAppendPath
String childScmDeveloperConnectionInheritAppendPath
When children inherit from scm developer connection, append path or not? Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
Default value is:
true
- Since:
- Maven 3.6.1
-
childScmUrlInheritAppendPath
String childScmUrlInheritAppendPath
When children inherit from scm url, append path or not? Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
Default value is:true
- Since:
- Maven 3.6.1
-
connection
String 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:
-
developerConnection
String developerConnection
Just likeconnection
, but for developers, i.e. this scm connection will not be read only.Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if scm's
child.scm.developerConnection.inherit.append.path="false"
. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
tag
String tag
The tag of current code. By default, it's set to HEAD during development. -
url
String url
The URL to the project's browsable SCM repository, such as ViewVC or Fisheye.Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if scm's
child.scm.url.inherit.append.path="false"
-
-
-
Class org.apache.maven.api.model.Site
class Site extends Object implements Serializable-
Serialized Fields
-
childSiteUrlInheritAppendPath
String childSiteUrlInheritAppendPath
When children inherit from distribution management site url, append path or not? Note: While the type of this field isString
for technical reasons, the semantic type is actuallyBoolean
Default value is:
true
- Since:
- Maven 3.6.1
-
id
String id
A unique identifier for a deployment location. This is used to match the site to configuration in thesettings.xml
file, for example. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
name
String name
Human readable name of the deployment location. -
url
String url
The url of the location where website is deployed, in the formprotocol://hostname/path
.Default value is: parent value [+ path adjustment] + (artifactId or project.directory property), or just parent value if site's
child.site.url.inherit.append.path="false"
.
-
-
-
-
Package org.apache.maven.api.plugin
-
Exception org.apache.maven.api.plugin.MojoException
class MojoException extends MavenException implements Serializable
-
-
Package org.apache.maven.api.plugin.descriptor
-
Class org.apache.maven.api.plugin.descriptor.Dependency
class Dependency extends Object implements Serializable -
Class org.apache.maven.api.plugin.descriptor.MojoDescriptor
class MojoDescriptor extends Object implements Serializable-
Serialized Fields
-
aggregator
boolean aggregator
Flags this Mojo to run it in a multi-module way, i.e. aggregate the build with the set of projects listed as modules. -
configurator
String configurator
The configurator type to use when injecting parameter values into this Mojo. The value is normally deduced from the Mojo's implementation language, but can be specified to allow a custom ComponentConfigurator implementation to be used. -
dependencyCollection
String dependencyCollection
Flags this Mojo as requiring information about the dependencies that would make up the specified class path. As the name suggests, this is similar to requiresDependencyResolution and supports the same values. The important difference is this will not resolve the files for the dependencies, i.e. the artifacts associated with a Maven project can lack a file. As such, this annotation is meant for Mojos that only want to analyze the set of transitive dependencies, in particular during early lifecycle phases where full dependency resolution might fail due to projects which haven't been built yet. -
dependencyResolution
String dependencyResolution
Flags this Mojo as requiring the dependencies in the specified class path to be resolved before it can execute:compile
,runtime
,test
,compile+runtime
(since Maven 3.0) orruntime+system
(since Maven 3.0) -
deprecated
String deprecated
Description with the reason of Mojo deprecation. Similar to Javadoc@deprecated
This will trigger a warning when a user tries to use a Mojo marked as deprecated. -
description
String description
The description of this Mojo's functionality. -
directInvocationOnly
boolean directInvocationOnly
Flags this Mojo to be invoked directly only. -
executeGoal
String executeGoal
Reference the invocation goal of the Mojo. -
executeLifecycle
String executeLifecycle
-
executePhase
String executePhase
Reference the invocation phase of the Mojo. -
fullGoalName
String fullGoalName
the full goal name -
goal
String goal
The goal name for the Mojo, that users will reference from the command line to execute the Mojo directly, or inside a POM in order to provide Mojo-specific configuration. -
id
String id
the id of the mojo, based on the goal name -
implementation
String implementation
The Mojo's fully-qualified class name (or script path in the case of non-Java Mojos). -
inheritedByDefault
boolean inheritedByDefault
Specify that the Mojo is inherited. -
language
String language
The implementation language for this Mojo (java, beanshell, etc.). -
onlineRequired
boolean onlineRequired
Flags this Mojo to require online mode for its operation. -
parameters
List<Parameter> parameters
-
phase
String phase
Defines a default phase to bind a Mojo execution to if the user does not explicitly set a phase in the POM.Note: This will not automagically make a Mojo run when the plugin declaration is added to the POM. It merely enables the user to omit the
<phase>
element from the surrounding<execution>
element. -
projectRequired
boolean projectRequired
Flags this Mojo to require running inside of a project. -
resolutions
List<Resolution> resolutions
-
since
String since
Specify the version when the Mojo was added to the API. Similar to Javadoc since.
-
-
-
Class org.apache.maven.api.plugin.descriptor.Parameter
class Parameter extends Object implements Serializable-
Serialized Fields
-
alias
String alias
Specifies an alias which can be used to configure this parameter from the POM. This is primarily useful to improve user-friendliness, where Mojo field names are not intuitive to the user or are otherwise not conducive to configuration via the POM. -
defaultValue
String defaultValue
The default value, as an expression that will be evaluated at injection or run-time. -
deprecated
String deprecated
Description with the reason of parameter deprecation. Similar to Javadoc@deprecated
. This will trigger a warning when a user tries to configure a parameter marked as deprecated. -
description
String description
The description of this parameter's use inside the Mojo. -
editable
boolean editable
Specifies that this parameter can be configured directly by the user (as in the case of POM-specified configuration). This is useful when you want to force the user to use common POM elements rather than plugin configurations, as in the case where you want to use the artifact's final name as a parameter. In this case, you want the user to modify<build><finalName/></build>
rather than specifying a value for finalName directly in the plugin configuration section. It is also useful to ensure that - for example - a List-typed parameter which expects items of type Artifact doesn't get a List full of Strings. -
expression
String expression
Parameter expression, to let user override default value with a user property, system property or project property. -
name
String name
The name of the parameter, to be used while configuring this parameter from the Mojo's declared defaults or from the POM. -
required
boolean required
Whether this parameter is required for the Mojo to function. This is used to validate the configuration for a Mojo before it is injected, and before the Mojo is executed from some half-state. -
since
String since
Specify the version when the parameter was added to the API. Similar to Javadoc since. -
type
String type
The Java type for this parameter. This is used to validate the result of any expressions used to calculate the value which should be injected into the Mojo for this parameter.
-
-
-
Class org.apache.maven.api.plugin.descriptor.PluginDescriptor
class PluginDescriptor extends Object implements Serializable-
Serialized Fields
-
artifactId
String artifactId
The artifact id of the plugin. -
description
String description
Description of the plugin. -
goalPrefix
String goalPrefix
-
groupId
String groupId
The group id of the plugin. -
inheritedByDefault
boolean inheritedByDefault
-
isolatedRealm
boolean isolatedRealm
-
modelEncoding
String modelEncoding
-
mojos
List<MojoDescriptor> mojos
Description of each Mojo provided by the plugin. -
name
String name
Name of the plugin. -
namespaceUri
String namespaceUri
-
requiredJavaVersion
String requiredJavaVersion
A version range which specifies the supported Java versions. A version range can either use the usual mathematical syntax "[2.0.10,2.1.0),[3.0,)" or use a single version "2.2.1". The latter is a short form for "[2.2.1,)", i.e. denotes the minimum version required.- Since:
- Maven 4.0.0-alpha-3
-
requiredMavenVersion
String requiredMavenVersion
A version range which specifies the supported Maven versions. A version range can either use the usual mathematical syntax "[2.0.10,2.1.0),[3.0,)" or use a single version "2.2.1". The latter is a short form for "[2.2.1,)", i.e. denotes the minimum version required. This value takes precedence over the POMs Maven prerequisite.- Since:
- Maven 4.0.0-alpha-3
-
version
String version
The version of the plugin.
-
-
-
Class org.apache.maven.api.plugin.descriptor.Requirement
class Requirement extends Object implements Serializable -
Class org.apache.maven.api.plugin.descriptor.Resolution
class Resolution extends Object implements Serializable
-
-
Package org.apache.maven.api.plugin.descriptor.lifecycle
-
Class org.apache.maven.api.plugin.descriptor.lifecycle.Execution
class Execution extends Object implements Serializable -
Class org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle
class Lifecycle extends Object implements Serializable -
Class org.apache.maven.api.plugin.descriptor.lifecycle.LifecycleConfiguration
class LifecycleConfiguration extends Object implements Serializable -
Class org.apache.maven.api.plugin.descriptor.lifecycle.Phase
class Phase extends Object implements Serializable-
Serialized Fields
-
configuration
XmlNode configuration
Configuration to pass to all goals run in this phase. -
executionPoint
String executionPoint
If specified, identifies this phase as a dynamic phase to decorate the specified phase id, e.g.after
orbefore
. -
executions
List<Execution> executions
The goals to execute within the phase. -
id
String id
The ID of this phase, e.g.,generate-sources
. -
priority
int priority
If specified, identifies a within phase prioritization of executions.
-
-
-
-
Package org.apache.maven.api.services
-
Exception org.apache.maven.api.services.ArtifactDeployerException
class ArtifactDeployerException extends MavenException implements Serializable- serialVersionUID:
- 7421964724059077698L
-
Exception org.apache.maven.api.services.ArtifactInstallerException
class ArtifactInstallerException extends MavenException implements Serializable- serialVersionUID:
- 3652561971360586373L
-
Exception org.apache.maven.api.services.ArtifactResolverException
class ArtifactResolverException extends MavenException implements Serializable- serialVersionUID:
- 7252294837746943917L
-
Exception org.apache.maven.api.services.ChecksumAlgorithmServiceException
class ChecksumAlgorithmServiceException extends MavenException implements Serializable- serialVersionUID:
- 1201171469179367694L
-
Exception org.apache.maven.api.services.DependencyResolverException
class DependencyResolverException extends MavenException implements Serializable- serialVersionUID:
- 1101171569179057614L
-
Exception org.apache.maven.api.services.InterpolatorException
class InterpolatorException extends MavenException implements Serializable- serialVersionUID:
- -1219149033636851813L
-
Exception org.apache.maven.api.services.LookupException
class LookupException extends MavenException implements Serializable- serialVersionUID:
- -6259322450070320286L
-
Exception org.apache.maven.api.services.MavenBuilderException
class MavenBuilderException extends MavenException implements Serializable-
Serialized Fields
-
problems
List<BuilderProblem> problems
-
-
-
Exception org.apache.maven.api.services.MavenException
class MavenException extends RuntimeException implements Serializable- serialVersionUID:
- 9027638326336093132L
-
Exception org.apache.maven.api.services.ModelBuilderException
class ModelBuilderException extends MavenException implements Serializable- serialVersionUID:
- -1865447022070650896L
-
Serialized Fields
-
result
ModelBuilderResult result
-
-
Exception org.apache.maven.api.services.ProjectBuilderException
class ProjectBuilderException extends MavenException implements Serializable- serialVersionUID:
- -7629871850875943799L
-
Exception org.apache.maven.api.services.PrompterException
class PrompterException extends MavenException implements Serializable- serialVersionUID:
- -3505070928479515081L
-
Exception org.apache.maven.api.services.SettingsBuilderException
class SettingsBuilderException extends MavenBuilderException implements Serializable- serialVersionUID:
- 4714858598345418083L
-
Exception org.apache.maven.api.services.SuperPomProviderException
class SuperPomProviderException extends MavenException implements Serializable- serialVersionUID:
- -8659892034004509331L
-
Exception org.apache.maven.api.services.ToolchainManagerException
class ToolchainManagerException extends MavenException implements Serializable- serialVersionUID:
- -9465854226608498L
-
Exception org.apache.maven.api.services.ToolchainsBuilderException
class ToolchainsBuilderException extends MavenBuilderException implements Serializable- serialVersionUID:
- 7899871809665729349L
-
Exception org.apache.maven.api.services.TransportProviderException
class TransportProviderException extends MavenException implements Serializable- serialVersionUID:
- -6066070072576465969L
-
Exception org.apache.maven.api.services.VersionParserException
class VersionParserException extends MavenException implements Serializable- serialVersionUID:
- 1504740189114877333L
-
Exception org.apache.maven.api.services.VersionRangeResolverException
class VersionRangeResolverException extends MavenException implements Serializable- serialVersionUID:
- 4455478418692494141L
-
Exception org.apache.maven.api.services.VersionResolverException
class VersionResolverException extends MavenException implements Serializable- serialVersionUID:
- -2105433586719466573L
-
-
Package org.apache.maven.api.services.model
-
Exception org.apache.maven.api.services.model.ModelResolverException
class ModelResolverException extends MavenException implements Serializable
-
-
Package org.apache.maven.api.services.xml
-
Exception org.apache.maven.api.services.xml.XmlReaderException
class XmlReaderException extends MavenException implements Serializable-
Serialized Fields
-
location
Location location
-
-
-
Exception org.apache.maven.api.services.xml.XmlWriterException
class XmlWriterException extends MavenException implements Serializable-
Serialized Fields
-
location
Location location
-
-
-
-
Package org.apache.maven.api.settings
-
Class org.apache.maven.api.settings.Activation
class Activation extends Object implements Serializable-
Serialized Fields
-
activeByDefault
boolean activeByDefault
Flag specifying whether this profile is active as a default. -
condition
String condition
The condition which must be satisfied to activate the profile. -
file
ActivationFile file
Specifies that this profile will be activated based on existence of a file. -
importedFrom
InputLocation importedFrom
Location tracking -
jdk
String jdk
Specifies that this profile will be activated when a matching JDK is detected. -
locations
Map<Object,
InputLocation> locations Locations -
os
ActivationOS os
Specifies that this profile will be activated when matching OS attributes are detected. -
packaging
String packaging
Specifies that this profile will be activated based on the project's packaging. -
property
ActivationProperty property
Specifies that this profile will be activated when this property is specified.
-
-
-
Class org.apache.maven.api.settings.ActivationFile
class ActivationFile extends Object implements Serializable-
Serialized Fields
-
exists
String exists
The name of the file that should exist to activate a profile. Please note, that missing and exists fields cannot be used together. Only one of them should be used at any one time. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
missing
String missing
The name of the file that should be missing to activate a 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.settings.ActivationOS
class ActivationOS extends Object implements Serializable-
Serialized Fields
-
arch
String arch
The architecture of the OS to be used to activate a profile. -
family
String family
The general family of the OS to be used to activate a profile (e.g. 'windows') -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
name
String name
The name of the OS to be used to activate a profile. -
version
String version
The version of the OS to be used to activate a profile.
-
-
-
Class org.apache.maven.api.settings.ActivationProperty
class ActivationProperty extends Object implements Serializable-
Serialized Fields
-
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
name
String name
The name of the property to be used to activate a profile. -
value
String value
The value of the property to be used to activate a profile.
-
-
-
Class org.apache.maven.api.settings.IdentifiableBase
class IdentifiableBase extends TrackableBase implements Serializable-
Serialized Fields
-
id
String id
Item identifier.
-
-
-
Class org.apache.maven.api.settings.InputLocation
class InputLocation extends Object implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
-
lineNumber
int lineNumber
-
locations
Map<Object,
InputLocation> locations -
source
InputSource source
-
-
-
Class org.apache.maven.api.settings.InputSource
class InputSource extends Object implements Serializable-
Serialized Fields
-
location
String location
-
-
-
Class org.apache.maven.api.settings.Mirror
class Mirror extends IdentifiableBase implements Serializable-
Serialized Fields
-
blocked
boolean blocked
Whether this mirror should be blocked from any download request but fail the download process, explaining why.
Default value is:false
Since: Maven 3.8.0 -
layout
String layout
The layout of the mirror repository.- Since:
- Maven 3.
-
mirrorOf
String mirrorOf
A repository id or (since Maven 2.0.9) an expression matching one or many repository ids to mirror, e.g.,central
or*,!repo1
.*
(since Maven 2.0.5),external:*
(since Maven 2.0.9) andexternal:http:*
(since Maven 3.8.0) have a special meaning: see Mirror Settings guide. -
mirrorOfLayouts
String mirrorOfLayouts
The layouts of repositories being mirrored. This value can be used to restrict the usage of the mirror to repositories with a matching layout (apart from a matching id).- Since:
- Maven 3.
-
name
String name
The optional name that describes the mirror. -
url
String url
The URL of the mirror repository.
-
-
-
Class org.apache.maven.api.settings.Profile
class Profile extends IdentifiableBase implements Serializable-
Serialized Fields
-
activation
Activation activation
The conditional logic which will automatically trigger the inclusion of this profile. -
pluginRepositories
List<Repository> pluginRepositories
The lists of the remote repositories for discovering plugins. -
properties
Map<String,
String> properties Extended configuration specific to this profile goes here. Contents take the form of<property.name>property.value</property.name>
-
repositories
List<Repository> repositories
The lists of the remote repositories.
-
-
-
Class org.apache.maven.api.settings.Proxy
class Proxy extends IdentifiableBase implements Serializable-
Serialized Fields
-
activeString
String activeString
Whether this proxy configuration is the active one. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyboolean
.- See Also:
-
host
String host
The proxy host. -
nonProxyHosts
String nonProxyHosts
The list of non-proxied hosts (delimited by|
). -
password
String password
The proxy password. -
portString
String portString
The proxy port. Note: While the type of this field isString
for technical reasons, the semantic type is actuallyint
.- See Also:
-
protocol
String protocol
The proxy protocol. -
username
String username
The proxy user.
-
-
-
Class org.apache.maven.api.settings.Repository
class Repository extends RepositoryBase implements Serializable-
Serialized Fields
-
releases
RepositoryPolicy releases
How to handle downloading of releases from this repository -
snapshots
RepositoryPolicy snapshots
How to handle downloading of snapshots from this repository
-
-
-
Class org.apache.maven.api.settings.RepositoryBase
class RepositoryBase extends IdentifiableBase implements Serializable -
Class org.apache.maven.api.settings.RepositoryPolicy
class RepositoryPolicy extends Object implements Serializable-
Serialized Fields
-
checksumPolicy
String checksumPolicy
What to do when verification of an artifact checksum fails. Valid values are "fail" (default for Maven 4 and above), "warn" (default for Maven 2 and 3) or "ignore". -
enabled
boolean enabled
Whether to use this repository for downloading this type of artifact. -
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations -
updatePolicy
String updatePolicy
The frequency for downloading updates - can be "always", "daily" (default), "interval:XXX" (in minutes) or "never" (only if it doesn't exist locally).
-
-
-
Class org.apache.maven.api.settings.Server
class Server extends IdentifiableBase implements Serializable-
Serialized Fields
-
configuration
XmlNode configuration
Extra configuration for the transport layer. -
directoryPermissions
String directoryPermissions
The permissions for directories when they are created. -
filePermissions
String filePermissions
The permissions for files when they are created. -
passphrase
String passphrase
The passphrase used in conjunction with the privateKey to authenticate. -
password
String password
The password used in conjunction with the username to authenticate. -
privateKey
String privateKey
The private key location used to authenticate. -
username
String username
The username used to authenticate.
-
-
-
Class org.apache.maven.api.settings.Settings
class Settings extends TrackableBase implements Serializable-
Serialized Fields
-
activeProfiles
List<String> activeProfiles
List of manually-activated build profiles, specified in the order in which they should be applied. -
interactiveMode
boolean interactiveMode
Whether Maven should attempt to interact with the user for input. -
localRepository
String localRepository
The local repository.
Default value is:${user.home}/.m2/repository
-
mirrors
List<Mirror> mirrors
Configuration of download mirrors for repositories. -
modelEncoding
String modelEncoding
-
namespaceUri
String namespaceUri
-
offline
boolean offline
Indicate whether maven should operate in offline mode full-time. -
pluginGroups
List<String> pluginGroups
List of groupIds to search for a plugin when that plugin groupId is not explicitly provided. -
pluginRepositories
List<Repository> pluginRepositories
The lists of the remote repositories for discovering plugins. -
profiles
List<Profile> profiles
Configuration of build profiles for adjusting the build according to environmental parameters. -
proxies
List<Proxy> proxies
Configuration for different proxy profiles. Multiple proxy profiles might come in handy for anyone working from a notebook or other mobile platform, to enable easy switching of entire proxy configurations by simply specifying the profile id, again either from the command line or from the defaults section below. -
repositories
List<Repository> repositories
The lists of the remote repositories. -
servers
List<Server> servers
Configuration of server-specific settings, mainly authentication method. This allows configuration of authentication on a per-server basis. -
usePluginRegistry
boolean usePluginRegistry
Whether Maven should use theplugin-registry.xml
file to manage plugin versions.
-
-
-
Class org.apache.maven.api.settings.TrackableBase
class TrackableBase extends Object implements Serializable-
Serialized Fields
-
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations
-
-
-
-
Package org.apache.maven.api.spi
-
Exception org.apache.maven.api.spi.ModelParserException
class ModelParserException extends MavenException implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
The one-based index of the column containing the error. -
lineNumber
int lineNumber
The one-based index of the line containing the error.
-
-
-
Exception org.apache.maven.api.spi.ModelTransformerException
class ModelTransformerException extends MavenException implements Serializable
-
-
Package org.apache.maven.api.toolchain
-
Class org.apache.maven.api.toolchain.InputLocation
class InputLocation extends Object implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
-
lineNumber
int lineNumber
-
locations
Map<Object,
InputLocation> locations -
source
InputSource source
-
-
-
Class org.apache.maven.api.toolchain.InputSource
class InputSource extends Object implements Serializable-
Serialized Fields
-
location
String location
-
-
-
Class org.apache.maven.api.toolchain.PersistedToolchains
class PersistedToolchains extends TrackableBase implements Serializable-
Serialized Fields
-
modelEncoding
String modelEncoding
-
namespaceUri
String namespaceUri
-
toolchains
List<ToolchainModel> toolchains
The toolchain instance definition.
-
-
-
Class org.apache.maven.api.toolchain.ToolchainModel
class ToolchainModel extends TrackableBase implements Serializable-
Serialized Fields
-
configuration
XmlNode configuration
Toolchain configuration information, like location or any information that is to be retrieved.Actual content structure is completely open: each toolchain type will define its own format and semantics.
In general, this is a properties format:
<name>value</name>
with per-toolchain defined properties names. -
provides
Map<String,
String> provides Toolchain identification information, which will be matched against project requirements.For Maven 2.0.9 to 3.2.3, the actual content structure was completely open: each toolchain type would define its own format and semantics. This was generally a properties format.
Since Maven 3.2.4, the type for this field has been changed to Properties to match the de-facto format.
Each toolchain defines its own properties names and semantics.
-
type
String type
Type of toolchain:jdk
for JDK Standard Toolchain,- other value for Custom Toolchain
-
-
-
Class org.apache.maven.api.toolchain.TrackableBase
class TrackableBase extends Object implements Serializable-
Serialized Fields
-
importedFrom
InputLocation importedFrom
Location tracking -
locations
Map<Object,
InputLocation> locations Locations
-
-
-
-
Package org.apache.maven.artifact
-
Exception org.apache.maven.artifact.DependencyResolutionRequiredException
class DependencyResolutionRequiredException extends Exception implements Serializable -
Exception org.apache.maven.artifact.InvalidArtifactRTException
class InvalidArtifactRTException extends RuntimeException implements Serializable -
Exception org.apache.maven.artifact.InvalidRepositoryException
class InvalidRepositoryException extends Exception implements Serializable-
Serialized Fields
-
repositoryId
String repositoryId
-
-
-
Exception org.apache.maven.artifact.UnknownRepositoryLayoutException
class UnknownRepositoryLayoutException extends InvalidRepositoryException implements Serializable-
Serialized Fields
-
layoutId
String layoutId
Deprecated.
-
-
-
-
Package org.apache.maven.artifact.deployer
-
Exception org.apache.maven.artifact.deployer.ArtifactDeploymentException
class ArtifactDeploymentException extends Exception implements Serializable
-
-
Package org.apache.maven.artifact.installer
-
Exception org.apache.maven.artifact.installer.ArtifactInstallationException
class ArtifactInstallationException extends Exception implements Serializable
-
-
Package org.apache.maven.artifact.manager
-
Exception org.apache.maven.artifact.manager.WagonConfigurationException
class WagonConfigurationException extends WagonConfigurationException implements Serializable
-
-
Package org.apache.maven.artifact.metadata
-
Exception org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
class ArtifactMetadataRetrievalException extends ArtifactMetadataRetrievalException implements Serializable
-
-
Package org.apache.maven.artifact.repository
-
Class org.apache.maven.artifact.repository.DefaultArtifactRepository
class DefaultArtifactRepository extends org.apache.maven.wagon.repository.Repository implements Serializable-
Serialized Fields
-
authentication
Authentication authentication
Deprecated. -
blacklisted
boolean blacklisted
Deprecated. -
blocked
boolean blocked
Deprecated. -
layout
ArtifactRepositoryLayout layout
Deprecated. -
mirroredRepositories
List<ArtifactRepository> mirroredRepositories
Deprecated. -
proxy
Proxy proxy
Deprecated. -
releases
ArtifactRepositoryPolicy releases
Deprecated. -
snapshots
ArtifactRepositoryPolicy snapshots
Deprecated.
-
-
-
-
Package org.apache.maven.artifact.repository.metadata
-
Class org.apache.maven.artifact.repository.metadata.BaseObject
class BaseObject extends Object implements Serializable-
Serialized Fields
-
delegate
Object delegate
-
-
-
Class org.apache.maven.artifact.repository.metadata.Metadata
class Metadata extends BaseObject implements Serializable -
Class org.apache.maven.artifact.repository.metadata.Plugin
class Plugin extends BaseObject implements Serializable -
Class org.apache.maven.artifact.repository.metadata.RepositoryMetadataDeploymentException
class RepositoryMetadataDeploymentException extends Throwable implements Serializable -
Class org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException
class RepositoryMetadataInstallationException extends Throwable implements Serializable -
Exception org.apache.maven.artifact.repository.metadata.RepositoryMetadataReadException
class RepositoryMetadataReadException extends Exception implements Serializable -
Exception org.apache.maven.artifact.repository.metadata.RepositoryMetadataResolutionException
class RepositoryMetadataResolutionException extends Exception implements Serializable -
Exception org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException
class RepositoryMetadataStoreException extends Exception implements Serializable -
Class org.apache.maven.artifact.repository.metadata.Snapshot
class Snapshot extends BaseObject implements Serializable -
Class org.apache.maven.artifact.repository.metadata.SnapshotVersion
class SnapshotVersion extends BaseObject implements Serializable -
Class org.apache.maven.artifact.repository.metadata.Versioning
class Versioning extends BaseObject implements Serializable
-
-
Package org.apache.maven.artifact.repository.metadata.io
-
Exception org.apache.maven.artifact.repository.metadata.io.MetadataParseException
class MetadataParseException extends IOException implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
The one-based index of the column containing the error. -
lineNumber
int lineNumber
The one-based index of the line containing the error.
-
-
-
-
Package org.apache.maven.artifact.resolver
-
Exception org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
class AbstractArtifactResolutionException extends Exception implements Serializable -
Exception org.apache.maven.artifact.resolver.ArtifactNotFoundException
class ArtifactNotFoundException extends AbstractArtifactResolutionException implements Serializable-
Serialized Fields
-
downloadUrl
String downloadUrl
-
-
-
Exception org.apache.maven.artifact.resolver.ArtifactResolutionException
class ArtifactResolutionException extends AbstractArtifactResolutionException implements Serializable -
Exception org.apache.maven.artifact.resolver.CyclicDependencyException
class CyclicDependencyException extends ArtifactResolutionException implements Serializable-
Serialized Fields
-
artifact
Artifact artifact
-
-
-
Exception org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException
class MultipleArtifactsNotFoundException extends ArtifactResolutionException implements Serializable
-
-
Package org.apache.maven.artifact.versioning
-
Exception org.apache.maven.artifact.versioning.InvalidVersionSpecificationException
class InvalidVersionSpecificationException extends Exception implements Serializable -
Class org.apache.maven.artifact.versioning.ManagedVersionMap
-
Exception org.apache.maven.artifact.versioning.OverConstrainedVersionException
class OverConstrainedVersionException extends ArtifactResolutionException implements Serializable
-
-
Package org.apache.maven.cli.internal
-
Exception org.apache.maven.cli.internal.ExtensionResolutionException
class ExtensionResolutionException extends Exception implements Serializable-
Serialized Fields
-
extension
CoreExtension extension
Deprecated.
-
-
-
-
Package org.apache.maven.cling.extensions
-
Exception org.apache.maven.cling.extensions.ExtensionResolutionException
class ExtensionResolutionException extends Exception implements Serializable-
Serialized Fields
-
extension
CoreExtension extension
-
-
-
-
Package org.apache.maven.configuration
-
Exception org.apache.maven.configuration.BeanConfigurationException
class BeanConfigurationException extends Exception implements Serializable
-
-
Package org.apache.maven.di.impl
-
Exception org.apache.maven.di.impl.DIException
class DIException extends RuntimeException implements Serializable -
Exception org.apache.maven.di.impl.Types.TypeNotBoundException
class TypeNotBoundException extends IllegalArgumentException implements Serializable
-
-
Package org.apache.maven.execution
-
Exception org.apache.maven.execution.BuildResumptionPersistenceException
class BuildResumptionPersistenceException extends Exception implements Serializable -
Exception org.apache.maven.execution.MavenExecutionRequestPopulationException
class MavenExecutionRequestPopulationException extends Exception implements Serializable
-
-
Package org.apache.maven.internal.impl.di
-
Exception org.apache.maven.internal.impl.di.OutOfScopeException
class OutOfScopeException extends DIException implements Serializable
-
-
Package org.apache.maven.internal.impl.model
-
Exception org.apache.maven.internal.impl.model.Graph.CycleDetectedException
class CycleDetectedException extends Exception implements Serializable
-
-
Package org.apache.maven.internal.impl.model.reflection
-
Exception org.apache.maven.internal.impl.model.reflection.IntrospectionException
class IntrospectionException extends Exception implements Serializable- serialVersionUID:
- -6090771282553728784L
-
-
Package org.apache.maven.internal.transformation
-
Exception org.apache.maven.internal.transformation.TransformationFailedException
class TransformationFailedException extends RuntimeException implements Serializable
-
-
Package org.apache.maven.internal.xml
-
Class org.apache.maven.internal.xml.XmlNodeImpl
class XmlNodeImpl extends Object implements Serializable- serialVersionUID:
- 2567894443061173996L
-
-
Package org.apache.maven.lifecycle
-
Exception org.apache.maven.lifecycle.LifecycleExecutionException
class LifecycleExecutionException extends Exception implements Serializable-
Serialized Fields
-
project
MavenProject project
-
-
-
Exception org.apache.maven.lifecycle.LifecycleNotFoundException
class LifecycleNotFoundException extends Exception implements Serializable-
Serialized Fields
-
lifecycleId
String lifecycleId
-
-
-
Exception org.apache.maven.lifecycle.LifecyclePhaseNotFoundException
class LifecyclePhaseNotFoundException extends Exception implements Serializable-
Serialized Fields
-
lifecyclePhase
String lifecyclePhase
-
-
-
Exception org.apache.maven.lifecycle.MissingProjectException
class MissingProjectException extends Exception implements Serializable -
Exception org.apache.maven.lifecycle.NoGoalSpecifiedException
class NoGoalSpecifiedException extends Exception implements Serializable
-
-
Package org.apache.maven.lifecycle.internal.builder
-
Exception org.apache.maven.lifecycle.internal.builder.BuilderNotFoundException
class BuilderNotFoundException extends Exception implements Serializable
-
-
Package org.apache.maven.model
-
Class org.apache.maven.model.Activation
class Activation extends BaseObject implements Serializable -
Class org.apache.maven.model.ActivationFile
class ActivationFile extends BaseObject implements Serializable -
Class org.apache.maven.model.ActivationOS
class ActivationOS extends BaseObject implements Serializable -
Class org.apache.maven.model.ActivationProperty
class ActivationProperty extends BaseObject implements Serializable -
Class org.apache.maven.model.BaseObject
class BaseObject extends Object implements Serializable-
Serialized Fields
-
delegate
Object delegate
-
-
-
Class org.apache.maven.model.Build
class Build extends BuildBase implements Serializable -
Class org.apache.maven.model.BuildBase
class BuildBase extends PluginConfiguration implements Serializable -
Class org.apache.maven.model.CiManagement
class CiManagement extends BaseObject implements Serializable -
Class org.apache.maven.model.ConfigurationContainer
class ConfigurationContainer extends BaseObject implements Serializable -
Class org.apache.maven.model.Contributor
class Contributor extends BaseObject implements Serializable -
Class org.apache.maven.model.Dependency
class Dependency extends BaseObject implements Serializable-
Serialized Fields
-
managementKey
String managementKey
-
-
-
Class org.apache.maven.model.DependencyManagement
class DependencyManagement extends BaseObject implements Serializable -
Class org.apache.maven.model.DeploymentRepository
class DeploymentRepository extends Repository implements Serializable -
Class org.apache.maven.model.Developer
class Developer extends Contributor implements Serializable -
Class org.apache.maven.model.DistributionManagement
class DistributionManagement extends BaseObject implements Serializable -
Class org.apache.maven.model.Exclusion
class Exclusion extends BaseObject implements Serializable -
Class org.apache.maven.model.Extension
class Extension extends BaseObject implements Serializable -
Class org.apache.maven.model.FileSet
class FileSet extends PatternSet implements Serializable -
Class org.apache.maven.model.InputLocation
class InputLocation extends Object implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
The one-based column number. The value will be non-positive if unknown. -
importedFrom
InputLocation importedFrom
Field importedFrom. -
lineNumber
int lineNumber
The one-based line number. The value will be non-positive if unknown. -
location
InputLocation location
Field location. -
locations
Map<Object,
InputLocation> locations Field locations. -
source
InputSource source
Field source.
-
-
-
Class org.apache.maven.model.InputSource
class InputSource extends Object implements Serializable-
Serialized Fields
-
importedFrom
InputLocation importedFrom
The location of the POM from which this POM was imported from ornull
if unknown. -
location
String location
The path/URL of the POM ornull
if unknown. -
modelId
String modelId
The identifier of the POM in the format<groupId>:<artifactId>:<version>
.
-
-
-
Class org.apache.maven.model.IssueManagement
class IssueManagement extends BaseObject implements Serializable -
Class org.apache.maven.model.License
class License extends BaseObject implements Serializable -
Class org.apache.maven.model.MailingList
class MailingList extends BaseObject implements Serializable -
Class org.apache.maven.model.Model
class Model extends ModelBase implements Serializable -
Class org.apache.maven.model.ModelBase
class ModelBase extends BaseObject implements Serializable -
Class org.apache.maven.model.Notifier
class Notifier extends BaseObject implements Serializable -
Class org.apache.maven.model.Organization
class Organization extends BaseObject implements Serializable -
Class org.apache.maven.model.Parent
class Parent extends BaseObject implements Serializable -
Class org.apache.maven.model.PatternSet
class PatternSet extends BaseObject implements Serializable -
Class org.apache.maven.model.Plugin
class Plugin extends ConfigurationContainer implements Serializable -
Class org.apache.maven.model.PluginConfiguration
class PluginConfiguration extends PluginContainer implements Serializable -
Class org.apache.maven.model.PluginContainer
class PluginContainer extends BaseObject implements Serializable -
Class org.apache.maven.model.PluginExecution
class PluginExecution extends ConfigurationContainer implements Serializable -
Class org.apache.maven.model.PluginManagement
class PluginManagement extends PluginContainer implements Serializable -
Class org.apache.maven.model.Prerequisites
class Prerequisites extends BaseObject implements Serializable -
Class org.apache.maven.model.Profile
class Profile extends ModelBase implements Serializable -
Class org.apache.maven.model.Relocation
class Relocation extends BaseObject implements Serializable -
Class org.apache.maven.model.Reporting
class Reporting extends BaseObject implements Serializable -
Class org.apache.maven.model.ReportPlugin
class ReportPlugin extends ConfigurationContainer implements Serializable -
Class org.apache.maven.model.ReportSet
class ReportSet extends ConfigurationContainer implements Serializable -
Class org.apache.maven.model.Repository
class Repository extends RepositoryBase implements Serializable -
Class org.apache.maven.model.RepositoryBase
class RepositoryBase extends BaseObject implements Serializable -
Class org.apache.maven.model.RepositoryPolicy
class RepositoryPolicy extends BaseObject implements Serializable -
Class org.apache.maven.model.Resource
class Resource extends FileSet implements Serializable -
Class org.apache.maven.model.Scm
class Scm extends BaseObject implements Serializable -
Class org.apache.maven.model.Site
class Site extends BaseObject implements Serializable
-
-
Package org.apache.maven.model.building
-
Exception org.apache.maven.model.building.Graph.CycleDetectedException
class CycleDetectedException extends Exception implements Serializable -
Exception org.apache.maven.model.building.ModelBuildingException
class ModelBuildingException extends Exception implements Serializable-
Serialized Fields
-
result
ModelBuildingResult result
Deprecated.
-
-
-
Exception org.apache.maven.model.building.TransformerException
class TransformerException extends Exception implements Serializable
-
-
Package org.apache.maven.model.interpolation.reflection
-
Exception org.apache.maven.model.interpolation.reflection.IntrospectionException
class IntrospectionException extends Exception implements Serializable- serialVersionUID:
- -6090771282553728784L
-
-
Package org.apache.maven.model.io
-
Exception org.apache.maven.model.io.ModelParseException
class ModelParseException extends IOException implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
Deprecated.The one-based index of the column containing the error. -
lineNumber
int lineNumber
Deprecated.The one-based index of the line containing the error.
-
-
-
-
Package org.apache.maven.model.resolution
-
Exception org.apache.maven.model.resolution.InvalidRepositoryException
class InvalidRepositoryException extends Exception implements Serializable-
Serialized Fields
-
repository
Repository repository
Deprecated.The repository that raised this error, can benull
.
-
-
-
Exception org.apache.maven.model.resolution.UnresolvableModelException
class UnresolvableModelException extends Exception implements Serializable
-
-
Package org.apache.maven.plugin
-
Exception org.apache.maven.plugin.AbstractMojoExecutionException
class AbstractMojoExecutionException extends Exception implements Serializable -
Exception org.apache.maven.plugin.CycleDetectedInPluginGraphException
class CycleDetectedInPluginGraphException extends Exception implements Serializable-
Serialized Fields
-
plugin
Plugin plugin
-
-
-
Exception org.apache.maven.plugin.InvalidPluginDescriptorException
class InvalidPluginDescriptorException extends Exception implements Serializable -
Exception org.apache.maven.plugin.InvalidPluginException
class InvalidPluginException extends Exception implements Serializable -
Exception org.apache.maven.plugin.MojoExecutionException
class MojoExecutionException extends AbstractMojoExecutionException implements Serializable -
Exception org.apache.maven.plugin.MojoFailureException
class MojoFailureException extends AbstractMojoExecutionException implements Serializable -
Exception org.apache.maven.plugin.MojoNotFoundException
class MojoNotFoundException extends Exception implements Serializable-
Serialized Fields
-
goal
String goal
-
pluginDescriptor
PluginDescriptor pluginDescriptor
-
-
-
Exception org.apache.maven.plugin.PluginConfigurationException
class PluginConfigurationException extends Exception implements Serializable-
Serialized Fields
-
originalMessage
String originalMessage
-
pluginDescriptor
PluginDescriptor pluginDescriptor
-
-
-
Exception org.apache.maven.plugin.PluginContainerException
class PluginContainerException extends PluginManagerException implements Serializable-
Serialized Fields
-
pluginRealm
org.codehaus.plexus.classworlds.realm.ClassRealm pluginRealm
-
-
-
Exception org.apache.maven.plugin.PluginDescriptorParsingException
class PluginDescriptorParsingException extends Exception implements Serializable -
Exception org.apache.maven.plugin.PluginExecutionException
class PluginExecutionException extends PluginManagerException implements Serializable-
Serialized Fields
-
mojoExecution
MojoExecution mojoExecution
-
-
-
Exception org.apache.maven.plugin.PluginIncompatibleException
class PluginIncompatibleException extends PluginManagerException implements Serializable -
Exception org.apache.maven.plugin.PluginLoaderException
class PluginLoaderException extends Exception implements Serializable-
Serialized Fields
-
pluginKey
String pluginKey
-
-
-
Exception org.apache.maven.plugin.PluginManagerException
class PluginManagerException extends Exception implements Serializable-
Serialized Fields
-
goal
String goal
-
pluginArtifactId
String pluginArtifactId
-
pluginGroupId
String pluginGroupId
-
pluginVersion
String pluginVersion
-
project
MavenProject project
-
-
-
Exception org.apache.maven.plugin.PluginNotFoundException
class PluginNotFoundException extends AbstractArtifactResolutionException implements Serializable-
Serialized Fields
-
plugin
Plugin plugin
-
-
-
Exception org.apache.maven.plugin.PluginParameterException
class PluginParameterException extends PluginConfigurationException implements Serializable-
Serialized Fields
-
mojo
MojoDescriptor mojo
-
parameters
List<Parameter> parameters
-
-
-
Exception org.apache.maven.plugin.PluginResolutionException
class PluginResolutionException extends Exception implements Serializable-
Serialized Fields
-
plugin
Plugin plugin
-
-
-
-
Package org.apache.maven.plugin.descriptor
-
Exception org.apache.maven.plugin.descriptor.DuplicateMojoDescriptorException
class DuplicateMojoDescriptorException extends InvalidPluginDescriptorException implements Serializable -
Exception org.apache.maven.plugin.descriptor.DuplicateParameterException
class DuplicateParameterException extends InvalidPluginDescriptorException implements Serializable -
Exception org.apache.maven.plugin.descriptor.InvalidParameterException
class InvalidParameterException extends InvalidPluginDescriptorException implements Serializable -
Exception org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException
class InvalidPluginDescriptorException extends org.codehaus.plexus.configuration.PlexusConfigurationException implements Serializable
-
-
Package org.apache.maven.plugin.lifecycle
-
Class org.apache.maven.plugin.lifecycle.Execution
class Execution extends Object implements Serializable -
Class org.apache.maven.plugin.lifecycle.Lifecycle
class Lifecycle extends Object implements Serializable -
Class org.apache.maven.plugin.lifecycle.LifecycleConfiguration
class LifecycleConfiguration extends Object implements Serializable -
Class org.apache.maven.plugin.lifecycle.Phase
class Phase extends Object implements Serializable
-
-
Package org.apache.maven.plugin.prefix
-
Exception org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException
class NoPluginFoundForPrefixException extends Exception implements Serializable
-
-
Package org.apache.maven.plugin.version
-
Exception org.apache.maven.plugin.version.PluginVersionNotFoundException
class PluginVersionNotFoundException extends Exception implements Serializable -
Exception org.apache.maven.plugin.version.PluginVersionResolutionException
class PluginVersionResolutionException extends Exception implements Serializable
-
-
Package org.apache.maven.profiles
-
Class org.apache.maven.profiles.Activation
class Activation extends Object implements Serializable-
Serialized Fields
-
activeByDefault
boolean activeByDefault
Flag specifying whether this profile is active as a default. -
file
ActivationFile file
Specifies that this profile will be activated based on existence of a file. -
jdk
String jdk
Specifies that this profile will be activated when a matching JDK is detected. -
os
ActivationOS os
Specifies that this profile will be activated when matching OS attributes are detected. -
property
ActivationProperty property
Specifies that this profile will be activated when this property is specified.
-
-
-
Class org.apache.maven.profiles.ActivationFile
class ActivationFile extends Object implements Serializable -
Class org.apache.maven.profiles.ActivationOS
class ActivationOS extends Object implements Serializable-
Serialized Fields
-
arch
String arch
The architecture of the OS to be used to activate a profile. -
family
String family
The general family of the OS to be used to activate a profile (e.g. 'windows'). -
name
String name
The name of the OS to be used to activate a profile. -
version
String version
The version of the OS to be used to activate a profile.
-
-
-
Class org.apache.maven.profiles.ActivationProperty
class ActivationProperty extends Object implements Serializable -
Class org.apache.maven.profiles.Profile
class Profile extends Object implements Serializable-
Serialized Fields
-
activation
Activation activation
The conditional logic which will automatically trigger the inclusion of this profile. -
id
String id
The ID of this build profile, for activation purposes. -
pluginRepositories
List<Repository> pluginRepositories
This may be removed or relocated in the near future. It is undecided whether plugins really need a remote repository set of their own. -
properties
Properties properties
Field properties. -
repositories
List<Repository> repositories
Field repositories.
-
-
-
Class org.apache.maven.profiles.ProfilesRoot
class ProfilesRoot extends Object implements Serializable -
Class org.apache.maven.profiles.Repository
class Repository extends RepositoryBase implements Serializable-
Serialized Fields
-
releases
RepositoryPolicy releases
How to handle downloading of releases from this repository. -
snapshots
RepositoryPolicy snapshots
How to handle downloading of snapshots from this repository.
-
-
-
Class org.apache.maven.profiles.RepositoryBase
class RepositoryBase extends Object implements Serializable -
Class org.apache.maven.profiles.RepositoryPolicy
class RepositoryPolicy extends Object implements Serializable-
Serialized Fields
-
checksumPolicy
String checksumPolicy
What to do when verification of an artifact checksum fails. Valid values are "fail" (default for Maven 4 and above), "warn" (default for Maven 2 and 3) or "ignore". -
enabled
boolean enabled
Whether to use this repository for downloading this type of artifact. -
updatePolicy
String updatePolicy
The frequency for downloading updates - can be "always", "daily" (default), "interval:XXX" (in minutes) or "never" (only if it doesn't exist locally).
-
-
-
-
Package org.apache.maven.profiles.activation
-
Exception org.apache.maven.profiles.activation.ProfileActivationException
class ProfileActivationException extends Exception implements Serializable- serialVersionUID:
- -90820222109103638L
-
-
Package org.apache.maven.project
-
Exception org.apache.maven.project.CycleDetectedException
class CycleDetectedException extends Exception implements Serializable -
Exception org.apache.maven.project.DependencyResolutionException
class DependencyResolutionException extends Exception implements Serializable -
Exception org.apache.maven.project.DuplicateArtifactAttachmentException
class DuplicateArtifactAttachmentException extends RuntimeException implements Serializable-
Serialized Fields
-
artifact
Artifact artifact
-
project
MavenProject project
-
-
-
Exception org.apache.maven.project.DuplicateProjectException
class DuplicateProjectException extends Exception implements Serializable -
Exception org.apache.maven.project.InvalidProjectModelException
class InvalidProjectModelException extends ProjectBuildingException implements Serializable-
Serialized Fields
-
validationResult
ModelValidationResult validationResult
Deprecated.
-
-
-
Exception org.apache.maven.project.InvalidProjectVersionException
class InvalidProjectVersionException extends ProjectBuildingException implements Serializable -
Exception org.apache.maven.project.MissingRepositoryElementException
class MissingRepositoryElementException extends InvalidRepositoryException implements Serializable -
Exception org.apache.maven.project.ProjectBuildingException
class ProjectBuildingException extends Exception implements Serializable-
Serialized Fields
-
pomFile
File pomFile
-
projectId
String projectId
-
results
List<ProjectBuildingResult> results
-
-
-
-
Package org.apache.maven.project.artifact
-
Exception org.apache.maven.project.artifact.InvalidDependencyVersionException
class InvalidDependencyVersionException extends InvalidProjectVersionException implements Serializable-
Serialized Fields
-
dependency
Dependency dependency
-
-
-
-
Package org.apache.maven.project.interpolation
-
Exception org.apache.maven.project.interpolation.ModelInterpolationException
class ModelInterpolationException extends Exception implements Serializable
-
-
Package org.apache.maven.reporting
-
Exception org.apache.maven.reporting.MavenReportException
class MavenReportException extends Exception implements Serializable
-
-
Package org.apache.maven.repository
-
Exception org.apache.maven.repository.ArtifactDoesNotExistException
class ArtifactDoesNotExistException extends Exception implements Serializable -
Class org.apache.maven.repository.ArtifactTransferEvent
class ArtifactTransferEvent extends EventObject implements Serializable-
Serialized Fields
-
artifact
ArtifactTransferResource artifact
Deprecated. -
dataBuffer
byte[] dataBuffer
Deprecated. -
dataLength
int dataLength
Deprecated. -
dataOffset
int dataOffset
Deprecated. -
eventType
int eventType
Deprecated. -
exception
Exception exception
Deprecated. -
localFile
File localFile
Deprecated. -
requestType
int requestType
Deprecated. -
transferredBytes
long transferredBytes
Deprecated.
-
-
-
Exception org.apache.maven.repository.ArtifactTransferFailedException
class ArtifactTransferFailedException extends Exception implements Serializable -
Exception org.apache.maven.repository.LocalRepositoryNotAccessibleException
class LocalRepositoryNotAccessibleException extends IOException implements Serializable -
Exception org.apache.maven.repository.VersionNotFoundException
class VersionNotFoundException extends Exception implements Serializable-
Serialized Fields
-
cause
InvalidVersionSpecificationException cause
Deprecated. -
dependency
Dependency dependency
Deprecated. -
pomFile
File pomFile
Deprecated. -
projectId
String projectId
Deprecated.
-
-
-
-
Package org.apache.maven.repository.legacy
-
Exception org.apache.maven.repository.legacy.ChecksumFailedException
class ChecksumFailedException extends org.apache.maven.wagon.TransferFailedException implements Serializable -
Exception org.apache.maven.repository.legacy.WagonConfigurationException
class WagonConfigurationException extends org.apache.maven.wagon.TransferFailedException implements Serializable- serialVersionUID:
- 1L
-
-
Package org.apache.maven.repository.legacy.metadata
-
Exception org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException
class ArtifactMetadataRetrievalException extends Exception implements Serializable-
Serialized Fields
-
artifact
Artifact artifact
Deprecated.
-
-
-
-
Package org.apache.maven.repository.legacy.resolver.conflict
-
Exception org.apache.maven.repository.legacy.resolver.conflict.ConflictResolverNotFoundException
class ConflictResolverNotFoundException extends Exception implements Serializable- serialVersionUID:
- 3372412184339653914L
-
-
Package org.apache.maven.repository.metadata
-
Exception org.apache.maven.repository.metadata.GraphConflictResolutionException
class GraphConflictResolutionException extends Exception implements Serializable- serialVersionUID:
- 2677613140287940255L
-
Exception org.apache.maven.repository.metadata.MetadataGraphTransformationException
class MetadataGraphTransformationException extends Exception implements Serializable- serialVersionUID:
- -4029897098314019152L
-
Exception org.apache.maven.repository.metadata.MetadataResolutionException
class MetadataResolutionException extends Exception implements Serializable -
Exception org.apache.maven.repository.metadata.MetadataRetrievalException
class MetadataRetrievalException extends Exception implements Serializable-
Serialized Fields
-
artifact
ArtifactMetadata artifact
Deprecated.
-
-
-
-
Package org.apache.maven.settings
-
Class org.apache.maven.settings.Activation
class Activation extends BaseObject implements Serializable -
Class org.apache.maven.settings.ActivationFile
class ActivationFile extends BaseObject implements Serializable -
Class org.apache.maven.settings.ActivationOS
class ActivationOS extends BaseObject implements Serializable -
Class org.apache.maven.settings.ActivationProperty
class ActivationProperty extends BaseObject implements Serializable -
Class org.apache.maven.settings.BaseObject
class BaseObject extends Object implements Serializable-
Serialized Fields
-
delegate
Object delegate
-
-
-
Class org.apache.maven.settings.IdentifiableBase
class IdentifiableBase extends TrackableBase implements Serializable -
Class org.apache.maven.settings.Mirror
class Mirror extends IdentifiableBase implements Serializable -
Class org.apache.maven.settings.Profile
class Profile extends IdentifiableBase implements Serializable -
Class org.apache.maven.settings.Proxy
class Proxy extends IdentifiableBase implements Serializable -
Class org.apache.maven.settings.Repository
class Repository extends RepositoryBase implements Serializable -
Class org.apache.maven.settings.RepositoryBase
class RepositoryBase extends IdentifiableBase implements Serializable -
Class org.apache.maven.settings.RepositoryPolicy
class RepositoryPolicy extends BaseObject implements Serializable -
Class org.apache.maven.settings.Server
class Server extends IdentifiableBase implements Serializable -
Class org.apache.maven.settings.Settings
class Settings extends TrackableBase implements Serializable -
Exception org.apache.maven.settings.SettingsConfigurationException
class SettingsConfigurationException extends Exception implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
-
lineNumber
int lineNumber
-
-
-
Class org.apache.maven.settings.TrackableBase
class TrackableBase extends BaseObject implements Serializable-
Serialized Fields
-
sourceLevel
String sourceLevel
-
sourceLevelSet
boolean sourceLevelSet
-
-
-
-
Package org.apache.maven.settings.building
-
Exception org.apache.maven.settings.building.SettingsBuildingException
class SettingsBuildingException extends Exception implements Serializable-
Serialized Fields
-
problems
List<SettingsProblem> problems
Deprecated.
-
-
-
-
Package org.apache.maven.settings.io
-
Exception org.apache.maven.settings.io.SettingsParseException
class SettingsParseException extends IOException implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
Deprecated.The one-based index of the column containing the error. -
lineNumber
int lineNumber
Deprecated.The one-based index of the line containing the error.
-
-
-
-
Package org.apache.maven.slf4j
-
Class org.apache.maven.slf4j.MavenBaseLogger
class MavenBaseLogger extends org.slf4j.helpers.LegacyAbstractLogger implements Serializable- serialVersionUID:
- -632788891211436180L
-
Serialized Fields
-
currentLogLevel
int currentLogLevel
The current log level
-
-
Class org.apache.maven.slf4j.MavenFailOnSeverityLogger
class MavenFailOnSeverityLogger extends MavenSimpleLogger implements Serializable-
Serialized Fields
-
logLevelRecorder
DefaultLogLevelRecorder logLevelRecorder
-
-
-
Class org.apache.maven.slf4j.MavenSimpleLogger
class MavenSimpleLogger extends MavenBaseLogger implements Serializable
-
-
Package org.apache.maven.toolchain
-
Exception org.apache.maven.toolchain.MisconfiguredToolchainException
class MisconfiguredToolchainException extends Exception implements Serializable
-
-
Package org.apache.maven.toolchain.building
-
Exception org.apache.maven.toolchain.building.ToolchainsBuildingException
class ToolchainsBuildingException extends Exception implements Serializable
-
-
Package org.apache.maven.toolchain.io
-
Exception org.apache.maven.toolchain.io.ToolchainsParseException
class ToolchainsParseException extends IOException implements Serializable-
Serialized Fields
-
columnNumber
int columnNumber
Deprecated.The one-based index of the column containing the error. -
lineNumber
int lineNumber
Deprecated.The one-based index of the line containing the error.
-
-
-
-
Package org.apache.maven.toolchain.model
-
Class org.apache.maven.toolchain.model.BaseObject
class BaseObject extends Object implements Serializable-
Serialized Fields
-
delegate
Object delegate
-
-
-
Class org.apache.maven.toolchain.model.PersistedToolchains
class PersistedToolchains extends TrackableBase implements Serializable -
Class org.apache.maven.toolchain.model.ToolchainModel
class ToolchainModel extends TrackableBase implements Serializable -
Class org.apache.maven.toolchain.model.TrackableBase
class TrackableBase extends BaseObject implements Serializable-
Serialized Fields
-
sourceLevel
String sourceLevel
-
sourceLevelSet
boolean sourceLevelSet
-
-
-
-
Package org.apache.maven.usability.plugin
-
Class org.apache.maven.usability.plugin.Expression
class Expression extends Object implements Serializable-
Serialized Fields
-
apiMethods
Properties apiMethods
Field apiMethods. -
ban
String ban
A preferred alternative to this expression, in the case where it's banned from use. -
cliOptions
Properties cliOptions
Field cliOptions. -
configuration
String configuration
The place and syntax used to change the value of this expression. -
deprecation
String deprecation
A preferred alternative to this expression, in the case where it's deprecated. -
description
String description
The description of what this expression references, and what it's generally used for. -
editable
boolean editable
Whether the value of this expression can be changed. -
syntax
String syntax
The syntax of the expression.
-
-
-
Class org.apache.maven.usability.plugin.ExpressionDocumentation
class ExpressionDocumentation extends Object implements Serializable-
Serialized Fields
-
expressions
List<Expression> expressions
Field expressions. -
expressionsBySyntax
Map expressionsBySyntax
-
modelEncoding
String modelEncoding
Field modelEncoding.
-
-
-
Exception org.apache.maven.usability.plugin.ExpressionDocumentationException
class ExpressionDocumentationException extends Exception implements Serializable- serialVersionUID:
- 1L
-
ModelBase.subprojects
instead.