boolean activeByDefault
Stringjdk
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.
ActivationOSos
ActivationPropertyproperty
ActivationFilefile
Map<K ,V> locations
Stringname
${os.name}
Java property, such as
Windows XP
.
Stringfamily
windows
or
unix
.
Stringarch
Stringversion
Map<K ,V> locations
StringsourceDirectory
src/main/java
.
StringscriptSourceDirectory
src/main/scripts
.
StringtestSourceDirectory
src/test/java
.
StringoutputDirectory
target/classes
.
StringtestOutputDirectory
target/test-classes
.
List<E> extensions
StringdefaultGoal
List<E> resources
List<E> testResources
Stringdirectory
target
.
StringfinalName
${artifactId}-${version}
.
List<E> filters
Stringinherited
String
for technical reasons, the semantic type is actually
Boolean
. Default value is
true
.
Objectconfiguration
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
Stringname
String
Stringurl
Stringorganization
StringorganizationUrl
List<E> roles
Stringtimezone
Propertiesproperties
Map<K ,V> locations
StringgroupId
org.apache.maven
.
StringartifactId
maven-artifact
.
Stringversion
3.2.1
. In Maven 2, this can also be specified as a range of versions.
Stringtype
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.
Stringclassifier
sources
and javadoc
: see default artifact handlers for a list,jdk14
and jdk15
.Stringscope
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.
StringsystemPath
${java.home}
.
List<E> exclusions
Stringoptional
String
for technical reasons, the semantic type is actually
Boolean
. Default value is
false
.
Map<K ,V> locations
StringmanagementKey
boolean uniqueVersion
Stringid
DeploymentRepositoryrepository
DeploymentRepositorysnapshotRepository
repository
element.
Sitesite
StringdownloadUrl
url
. This is given to assist in locating artifacts that are not in the repository due to licensing restrictions.
Relocationrelocation
Stringstatus
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
Stringdirectory
int lineNumber
int columnNumber
InputSourcesource
Map<K ,V> locations
Stringname
Stringurl
Stringdistribution
Stringcomments
Map<K ,V> locations
Stringname
Stringsubscribe
mailto:
link will automatically be created when the documentation is created.
Stringunsubscribe
mailto:
link will automatically be created when the documentation is created.
Stringpost
mailto:
link will automatically be created when the documentation is created.
Stringarchive
List<E> otherArchives
Map<K ,V> locations
StringmodelVersion
Parentparent
StringgroupId
org.apache.maven
).
StringartifactId
Stringversion
Stringpackaging
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.
Stringname
Stringdescription
Stringurl
StringinceptionYear
Organizationorganization
List<E> licenses
List<E> developers
List<E> contributors
List<E> mailingLists
Prerequisitesprerequisites
Scmscm
IssueManagementissueManagement
CiManagementciManagement
Buildbuild
List<E> profiles
StringmodelEncoding
FilepomFile
List<E> modules
DistributionManagementdistributionManagement
Propertiesproperties
DependencyManagementdependencyManagement
List<E> dependencies
List<E> repositories
List<E> pluginRepositories
Objectreports
Reportingreporting
mvn site
. All of the reports will be included in the navigation bar for browsing.
Map<K ,V> locations
Stringtype
boolean sendOnError
boolean sendOnFailure
boolean sendOnSuccess
boolean sendOnWarning
Stringaddress
Propertiesconfiguration
Map<K ,V> locations
StringgroupId
StringartifactId
Stringversion
StringrelativePath
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
StringgroupId
StringartifactId
Stringversion
Stringextensions
String
for technical reasons, the semantic type is actually
Boolean
. Default value is
false
.
List<E> executions
List<E> dependencies
Objectgoals
Map<K ,V> executionMap
Stringkey
PluginManagementpluginManagement
Stringid
Stringphase
int priority
List<E> goals
Stringmaven
requireMavenVersion
rule instead.
Map<K ,V> locations
Stringid
Activationactivation
BuildBasebuild
Stringsource
StringgroupId
StringartifactId
Stringversion
Stringmessage
Map<K ,V> locations
StringexcludeDefaults
String
for technical reasons, the semantic type is actually
Boolean
. Default value is
false
.
StringoutputDirectory
${project.build.directory}/site
.
List<E> plugins
Map<K ,V> locations
Map<K ,V> reportPluginMap
StringgroupId
StringartifactId
Stringversion
List<E> reportSets
Map<K ,V> reportSetMap
RepositoryPolicyreleases
RepositoryPolicysnapshots
Stringid
settings.xml
file, for example. Furthermore, the identifier is used during POM inheritance and profile injection to detect repositories that should be merged.
Stringname
Stringurl
protocol://hostname/path
.
Stringlayout
legacy
or
default
.
Map<K ,V> locations
Stringenabled
String
for technical reasons, the semantic type is actually
Boolean
. Default value is
true
.
StringupdatePolicy
always,
daily
(default),
interval:XXX
(in minutes) or
never
(only if it doesn't exist locally).
StringchecksumPolicy
ignore
,
fail
or
warn
(the default).
Map<K ,V> locations
StringtargetPath
${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.
Stringfiltering
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
.
StringmergeId
Stringconnection
StringdeveloperConnection
connection
, but for developers, i.e. this scm connection will not be read only.
Stringtag
Stringurl
Map<K ,V> locations
Stringid
settings.xml
file, for example.
Stringname
Stringurl
protocol://hostname/path
.
Map<K ,V> locations