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
Map<K,V> locations
String name
${os.name}
Java property,
such as Windows XP
.String family
windows
or unix
.String arch
String version
Map<K,V> locations
String sourceDirectory
String scriptSourceDirectory
String testSourceDirectory
String outputDirectory
String testOutputDirectory
List<E> extensions
String defaultGoal
List<E> resources
List<E> testResources
String directory
String finalName
${artifactId}-${version}
.List<E> filters
String inherited
String
for
technical reasons, the semantic type is actually
Boolean
. Default value is
true
.Object configuration
The configuration as DOM object.
By default, every element content is trimmed,
but starting with Maven 3.1.0, you can add
xml:space="preserve"
to elements
you want to preserve whitespace.
You can control how child POMs inherit
configuration from parent POMs by adding
combine.children
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.
Map<K,V> locations
boolean inheritanceApplied
String name
String email
String url
String organization
String organizationUrl
List<E> roles
String timezone
Properties properties
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 plugins that set
extensions
to true
, 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.String systemPath
${java.home}
.List<E> exclusions
String optional
String
for
technical reasons, the semantic type is actually
Boolean
. Default value is
false
.Map<K,V> locations
String managementKey
String id
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).Map<K,V> locations
String directory
int lineNumber
int columnNumber
InputSource source
Map<K,V> locations
String name
String url
String distribution
String comments
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
Map<K,V> locations
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
String inceptionYear
Organization organization
List<E> licenses
List<E> developers
List<E> contributors
List<E> mailingLists
Prerequisites prerequisites
Scm scm
IssueManagement issueManagement
CiManagement ciManagement
Build build
List<E> profiles
String modelEncoding
File pomFile
List<E> modules
DistributionManagement distributionManagement
Properties properties
DependencyManagement dependencyManagement
List<E> dependencies
List<E> repositories
List<E> pluginRepositories
Object reports
Reporting reporting
mvn site
.
All of the reports will be included in the
navigation bar for browsing.Map<K,V> locations
String type
boolean sendOnError
boolean sendOnFailure
boolean sendOnSuccess
boolean sendOnWarning
String address
Properties configuration
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.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
Object goals
Map<K,V> executionMap
String key
PluginManagement pluginManagement
String id
String phase
int priority
List<E> goals
String id
Activation activation
BuildBase build
String source
String groupId
String artifactId
String version
String message
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
Map<K,V> locations
Map<K,V> reportPluginMap
String groupId
String artifactId
String version
List<E> reportSets
Map<K,V> reportSetMap
RepositoryPolicy releases
RepositoryPolicy snapshots
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
.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
or
warn
(the default).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
String connection
String developerConnection
connection
, but for
developers, i.e. this scm connection
will not be read only.
String tag
String url
Map<K,V> locations
String id
settings.xml
file, for example.String name
String url
protocol://hostname/path
.
Map<K,V> locations
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.