File pomFile
String projectId
boolean activeByDefault
String jdk
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.ActivationOS os
ActivationProperty property
ActivationFile file
InputLocation location
InputLocation activeByDefaultLocation
InputLocation jdkLocation
InputLocation osLocation
InputLocation propertyLocation
InputLocation fileLocation
Map<K,V> locations
String missing
String exists
InputLocation location
InputLocation missingLocation
InputLocation existsLocation
Map<K,V> locations
String name
${os.name}
Java property, such as Windows XP
.String family
windows
or unix
.String arch
String version
InputLocation location
InputLocation nameLocation
InputLocation familyLocation
InputLocation archLocation
InputLocation versionLocation
Map<K,V> locations
String name
String value
InputLocation location
InputLocation nameLocation
InputLocation valueLocation
Map<K,V> locations
String sourceDirectory
src/main/java
.String scriptSourceDirectory
src/main/scripts
.String testSourceDirectory
src/test/java
.String outputDirectory
target/classes
.String testOutputDirectory
target/test-classes
.List<E> extensions
InputLocation sourceDirectoryLocation
InputLocation scriptSourceDirectoryLocation
InputLocation testSourceDirectoryLocation
InputLocation outputDirectoryLocation
InputLocation testOutputDirectoryLocation
InputLocation extensionsLocation
String defaultGoal
List<E> resources
src/main/resources
.List<E> testResources
src/test/resources
.String directory
target
.String finalName
${artifactId}-${version}
.List<E> filters
InputLocation defaultGoalLocation
InputLocation resourcesLocation
InputLocation testResourcesLocation
InputLocation directoryLocation
InputLocation finalNameLocation
InputLocation filtersLocation
String system
continuum
.String url
List<E> notifiers
InputLocation location
InputLocation systemLocation
InputLocation urlLocation
InputLocation notifiersLocation
Map<K,V> locations
String inherited
String
for technical reasons, the semantic type is actually
Boolean
. Default value is true
.Dom 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
or combine.self
attributes to the children of the configuration element:
combine.children
: available values are merge
(default) and append
,combine.self
: available values are merge
(default) and override
.See POM Reference documentation and Xpp3DomUtils for more information.
InputLocation location
InputLocation inheritedLocation
InputLocation configurationLocation
Map<K,V> locations
String name
String email
String url
String organization
String organizationUrl
List<E> roles
role
element, the body of which is a role name. This can also be used to
describe the contribution.String timezone
Map<K,V> properties
InputLocation location
InputLocation nameLocation
InputLocation emailLocation
InputLocation urlLocation
InputLocation organizationLocation
InputLocation organizationUrlLocation
InputLocation rolesLocation
InputLocation timezoneLocation
InputLocation propertiesLocation
Map<K,V> locations
String groupId
org.apache.maven
.String artifactId
maven-artifact
.String version
3.2.1
. In Maven 2, this can also be
specified as a range of versions.String type
jar
, war
, ejb-client
and test-jar
: see default
artifact handlers for a list. New types can be defined by extensions, so this is not a complete list.String classifier
sources
and javadoc
:
see default artifact handlers for a list,jdk14
and jdk15
.String scope
compile
, runtime
,
test
, system
, and provided
. 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 is compile
.String systemPath
${java.home}
.List<E> exclusions
String optional
String
for technical reasons, the semantic type is actually
Boolean
. Default value is false
.InputLocation location
InputLocation groupIdLocation
InputLocation artifactIdLocation
InputLocation versionLocation
InputLocation typeLocation
InputLocation classifierLocation
InputLocation scopeLocation
InputLocation systemPathLocation
InputLocation exclusionsLocation
InputLocation optionalLocation
Map<K,V> locations
String managementKey
List<E> dependencies
InputLocation location
InputLocation dependenciesLocation
Map<K,V> locations
boolean uniqueVersion
InputLocation uniqueVersionLocation
String id
InputLocation idLocation
DeploymentRepository repository
DeploymentRepository snapshotRepository
repository
element.Site site
String downloadUrl
url
.
This is given to assist in locating artifacts that are not in the repository due to
licensing restrictions.Relocation relocation
String status
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).InputLocation location
InputLocation repositoryLocation
InputLocation snapshotRepositoryLocation
InputLocation siteLocation
InputLocation downloadUrlLocation
InputLocation relocationLocation
InputLocation statusLocation
Map<K,V> locations
String groupId
String artifactId
InputLocation location
InputLocation groupIdLocation
InputLocation artifactIdLocation
Map<K,V> locations
String groupId
String artifactId
String version
InputLocation location
InputLocation groupIdLocation
InputLocation artifactIdLocation
InputLocation versionLocation
Map<K,V> locations
String directory
InputLocation directoryLocation
int lineNumber
int columnNumber
InputSource source
Map<K,V> locations
String system
String url
InputLocation location
InputLocation systemLocation
InputLocation urlLocation
Map<K,V> locations
String name
String url
String distribution
String comments
InputLocation location
InputLocation nameLocation
InputLocation urlLocation
InputLocation distributionLocation
InputLocation commentsLocation
Map<K,V> locations
String name
String subscribe
mailto:
link will automatically be created
when the documentation is created.String unsubscribe
mailto:
link will automatically be created
when the documentation is created.String post
mailto:
link will automatically be created
when the documentation is created.String archive
List<E> otherArchives
InputLocation location
InputLocation nameLocation
InputLocation subscribeLocation
InputLocation unsubscribeLocation
InputLocation postLocation
InputLocation archiveLocation
InputLocation otherArchivesLocation
Map<K,V> locations
String modelEncoding
Path pomFile
String modelVersion
Parent parent
String groupId
org.apache.maven
).String artifactId
String version
String packaging
jar
war
ear
pom
.
Plugins can create their own packaging, and
therefore their own packaging types,
so this list does not contain all possible types.String name
String description
String url
child.project.url.inherit.append.path="false"
String childProjectUrlInheritAppendPath
String
for technical reasons, the semantic type is actually
Boolean
true
String inceptionYear
Organization organization
List<E> licenses
license
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.List<E> developers
List<E> contributors
List<E> mailingLists
Prerequisites prerequisites
Scm scm
IssueManagement issueManagement
CiManagement ciManagement
Build build
List<E> profiles
InputLocation pomFileLocation
InputLocation modelVersionLocation
InputLocation parentLocation
InputLocation groupIdLocation
InputLocation artifactIdLocation
InputLocation versionLocation
InputLocation packagingLocation
InputLocation nameLocation
InputLocation descriptionLocation
InputLocation urlLocation
InputLocation childProjectUrlInheritAppendPathLocation
InputLocation inceptionYearLocation
InputLocation organizationLocation
InputLocation licensesLocation
InputLocation developersLocation
InputLocation contributorsLocation
InputLocation mailingListsLocation
InputLocation prerequisitesLocation
InputLocation scmLocation
InputLocation issueManagementLocation
InputLocation ciManagementLocation
InputLocation buildLocation
InputLocation profilesLocation
List<E> modules
DistributionManagement distributionManagement
Map<K,V> properties
<name>value</name>
.DependencyManagement dependencyManagement
List<E> dependencies
List<E> repositories
List<E> pluginRepositories
Reporting reporting
mvn site
.
All of the reports will be included in the navigation bar for browsing.InputLocation location
InputLocation modulesLocation
InputLocation distributionManagementLocation
InputLocation propertiesLocation
InputLocation dependencyManagementLocation
InputLocation dependenciesLocation
InputLocation repositoriesLocation
InputLocation pluginRepositoriesLocation
InputLocation reportingLocation
Map<K,V> locations
String type
boolean sendOnError
boolean sendOnFailure
boolean sendOnSuccess
boolean sendOnWarning
String address
Map<K,V> configuration
InputLocation location
InputLocation typeLocation
InputLocation sendOnErrorLocation
InputLocation sendOnFailureLocation
InputLocation sendOnSuccessLocation
InputLocation sendOnWarningLocation
InputLocation addressLocation
InputLocation configurationLocation
Map<K,V> locations
String name
String url
InputLocation location
InputLocation nameLocation
InputLocation urlLocation
Map<K,V> locations
String groupId
String artifactId
String version
String relativePath
pom.xml
file within the check out.
If not specified, it defaults to ../pom.xml
.
Maven looks for the parent POM first in this location on
the filesystem, then the local repository, and lastly in the remote repo.
relativePath
allows you to select a different location,
for example when your structure is flat, or deeper without an intermediate parent POM.
However, the group ID, artifact ID and version are still required,
and must match the file in the location given or it will revert to the repository for the POM.
This feature is only for enhancing the development in a local checkout of that project.
Set the value to an empty string in case you want to disable the feature and always resolve
the parent POM from the repositories.InputLocation location
InputLocation groupIdLocation
InputLocation artifactIdLocation
InputLocation versionLocation
InputLocation relativePathLocation
Map<K,V> locations
List<E> includes
**/*.xml
.List<E> excludes
**/*.xml
InputLocation location
InputLocation includesLocation
InputLocation excludesLocation
Map<K,V> locations
String groupId
String artifactId
String version
String extensions
String
for technical reasons, the semantic type is actually
Boolean
. Default value is false
.List<E> executions
List<E> dependencies
InputLocation groupIdLocation
InputLocation artifactIdLocation
InputLocation versionLocation
InputLocation extensionsLocation
InputLocation executionsLocation
InputLocation dependenciesLocation
Map<K,V> executionMap
PluginManagement pluginManagement
InputLocation pluginManagementLocation
List<E> plugins
InputLocation location
InputLocation pluginsLocation
Map<K,V> locations
Map<K,V> pluginMap
String id
String phase
int priority
List<E> goals
InputLocation idLocation
InputLocation phaseLocation
InputLocation priorityLocation
InputLocation goalsLocation
String maven
maven-plugin
), the minimum version of
Maven required to use the resulting plugin.requireMavenVersion
rule instead.InputLocation location
InputLocation mavenLocation
Map<K,V> locations
String id
Activation activation
BuildBase build
InputLocation idLocation
InputLocation activationLocation
InputLocation buildLocation
String source
String groupId
String artifactId
String version
String message
InputLocation location
InputLocation groupIdLocation
InputLocation artifactIdLocation
InputLocation versionLocation
InputLocation messageLocation
Map<K,V> locations
String excludeDefaults
String
for technical reasons, the semantic type is actually
Boolean
. Default value is false
.String outputDirectory
${project.build.directory}/site
.List<E> plugins
InputLocation location
InputLocation excludeDefaultsLocation
InputLocation outputDirectoryLocation
InputLocation pluginsLocation
Map<K,V> locations
String groupId
String artifactId
String version
build/plugins
then in build/pluginManagement
.List<E> reportSets
execution
in the build.InputLocation groupIdLocation
InputLocation artifactIdLocation
InputLocation versionLocation
InputLocation reportSetsLocation
Map<K,V> reportSetMap
String id
List<E> reports
InputLocation idLocation
InputLocation reportsLocation
RepositoryPolicy releases
RepositoryPolicy snapshots
InputLocation releasesLocation
InputLocation snapshotsLocation
String id
settings.xml
file, for example. Furthermore, the identifier is
used during POM inheritance and profile injection to detect repositories that should be merged.String name
String url
protocol://hostname/path
.String layout
legacy
or default
.InputLocation location
InputLocation idLocation
InputLocation nameLocation
InputLocation urlLocation
InputLocation layoutLocation
Map<K,V> locations
String enabled
String
for technical reasons, the semantic type is actually
Boolean
. Default value is true
.String updatePolicy
always,
daily
(default),
interval:XXX
(in minutes) or
never
(only if it doesn't exist locally).String checksumPolicy
ignore
,
fail
(default for Maven 4 and above) or
warn
(default for Maven 2 and 3)InputLocation location
InputLocation enabledLocation
InputLocation updatePolicyLocation
InputLocation checksumPolicyLocation
Map<K,V> locations
String targetPath
${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.String filtering
properties
element and from the
properties in the files listed in the filters
element. Note: While the type
of this field is String
for technical reasons, the semantic type is actually
Boolean
. Default value is false
.String mergeId
InputLocation targetPathLocation
InputLocation filteringLocation
InputLocation mergeIdLocation
String connection
child.scm.connection.inherit.append.path="false"
String developerConnection
connection
, but for developers, i.e. this scm connection
will not be read only.
child.scm.developerConnection.inherit.append.path="false"
String tag
String url
child.scm.url.inherit.append.path="false"
String childScmConnectionInheritAppendPath
String
for technical reasons, the semantic type is actually
Boolean
true
String childScmDeveloperConnectionInheritAppendPath
String
for technical reasons, the semantic type is actually
Boolean
true
String childScmUrlInheritAppendPath
String
for technical reasons, the semantic type is actually
Boolean
true
InputLocation location
InputLocation connectionLocation
InputLocation developerConnectionLocation
InputLocation tagLocation
InputLocation urlLocation
InputLocation childScmConnectionInheritAppendPathLocation
InputLocation childScmDeveloperConnectionInheritAppendPathLocation
InputLocation childScmUrlInheritAppendPathLocation
Map<K,V> locations
String id
settings.xml
file, for example.String name
String url
protocol://hostname/path
.
child.site.url.inherit.append.path="false"
String childSiteUrlInheritAppendPath
String
for technical reasons, the semantic type is actually
Boolean
true
InputLocation location
InputLocation idLocation
InputLocation nameLocation
InputLocation urlLocation
InputLocation childSiteUrlInheritAppendPathLocation
Map<K,V> locations
boolean activeByDefault
String jdk
ActivationOS os
ActivationProperty property
ActivationFile file
String name
String family
String arch
String version
String id
String mirrorOf
String name
String url
String layout
String mirrorOfLayouts
boolean blocked
Activation activation
Map<K,V> properties
<property.name>property.value</property.name>
List<E> repositories
List<E> pluginRepositories
boolean active
String protocol
String username
String password
int port
String host
String nonProxyHosts
RepositoryPolicy releases
RepositoryPolicy snapshots
boolean enabled
String updatePolicy
String checksumPolicy
String username
String password
String privateKey
String passphrase
String filePermissions
String directoryPermissions
Dom configuration
String modelEncoding
String localRepository
${user.home}/.m2/repository
boolean interactiveMode
boolean usePluginRegistry
boolean offline
List<E> proxies
List<E> servers
List<E> mirrors
List<E> profiles
List<E> activeProfiles
List<E> pluginGroups
Proxy activeProxy
Map<K,V> profileMap
String sourceLevel
boolean sourceLevelSet
String type
jdk
for
JDK Standard Toolchain,Map<K,V> 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. In general, this was 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.
Dom 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.
String sourceLevel
boolean sourceLevelSet
String repositoryId
String layoutId
ArtifactRepositoryLayout layout
ArtifactRepositoryPolicy snapshots
ArtifactRepositoryPolicy releases
boolean blacklisted
Authentication authentication
Proxy proxy
List<E> mirroredRepositories
boolean blocked
String modelVersion
String groupId
String artifactId
Versioning versioning
String version
-SNAPSHOT
) when
this directory represents a "groupId/artifactId/version" for
a SNAPSHOT.List<E> plugins
String modelEncoding
String timestamp
int buildNumber
boolean localCopy
String classifier
String extension
String version
String updated
String latest
String release
List<E> versions
String lastUpdated
Snapshot snapshot
List<E> snapshotVersions
int lineNumber
int columnNumber
String downloadUrl
Artifact artifact
CoreExtension extension
String groupId
String artifactId
String version
String classLoadingStrategy
MavenProject project
String lifecycleId
String lifecyclePhase
Object delegate
String managementKey
int lineNumber
int columnNumber
InputSource source
Map<K,V> locations
InputLocation location
ModelBuildingResult result
int lineNumber
int columnNumber
Repository repository
null
.Plugin plugin
String goal
PluginDescriptor pluginDescriptor
PluginDescriptor pluginDescriptor
String originalMessage
org.codehaus.plexus.classworlds.realm.ClassRealm pluginRealm
MojoExecution mojoExecution
String pluginKey
String pluginGroupId
String pluginArtifactId
String pluginVersion
String goal
MavenProject project
Plugin plugin
List<E> parameters
MojoDescriptor mojo
Plugin plugin
boolean activeByDefault
String jdk
ActivationOS os
ActivationProperty property
ActivationFile file
String name
String family
String arch
String version
String id
Activation activation
Properties properties
List<E> repositories
List<E> pluginRepositories
RepositoryPolicy releases
RepositoryPolicy snapshots
boolean enabled
String updatePolicy
String checksumPolicy
Artifact artifact
MavenProject project
ModelValidationResult validationResult
Dependency dependency
int eventType
int requestType
Exception exception
File localFile
ArtifactTransferResource artifact
long transferredBytes
byte[] dataBuffer
int dataOffset
int dataLength
Dependency dependency
String projectId
File pomFile
InvalidVersionSpecificationException cause
Artifact artifact
ArtifactMetadata artifact
Activation delegate
ActivationFile delegate
ActivationOS delegate
ActivationProperty delegate
RepositoryBase delegate
RepositoryPolicy delegate
int lineNumber
int columnNumber
TrackableBase delegate
String sourceLevel
boolean sourceLevelSet
int lineNumber
int columnNumber
int lineNumber
int columnNumber
TrackableBase delegate
String sourceLevel
boolean sourceLevelSet
String syntax
String description
String configuration
Properties cliOptions
Properties apiMethods
String deprecation
String ban
boolean editable
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOException
- if an I/O error occurs.ClassNotFoundException
- if the class for the object de-serialized is not found.private void writeObject(ObjectOutputStream stream) throws IOException
IOException
- if an I/O error occurs.Xpp3Dom.ChildrenTracking childrenTracking
Dom dom
Throwable detail
int row
int column
LogLevelRecorder logLevelRecorder
int currentLogLevel
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.