Artifact artifact
ArtifactRepositoryLayout layout
ArtifactRepositoryPolicy snapshots
ArtifactRepositoryPolicy releases
boolean uniqueVersion
boolean blacklisted
String timestamp
int buildNumber
boolean localCopy
String downloadUrl
Artifact artifact
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.ActivationOS os
ActivationProperty property
ActivationFile file
String name
${os.name}
Java property,
such as Windows XP
.String family
windows
or unix
.String arch
String version
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 name
String email
String url
String organization
String organizationUrl
List<E> roles
String timezone
Properties properties
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
. While it
usually represents the extension on the filename
of the dependency,
that is not always the case. A type can be
mapped to a different
extension and a classifier.
The type often correspongs to the packaging
used, though this is also
not always the case.
Some examples are jar
,
war
, ejb-client
and test-jar
.
New types can be defined by plugins that set
extensions
to true
, so
this is not a complete list.String classifier
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
boolean optional
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).String directory
String name
String url
String distribution
String comments
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
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> mailingLists
List<E> developers
List<E> contributors
IssueManagement issueManagement
Scm scm
CiManagement ciManagement
Prerequisites prerequisites
Build build
List<E> profiles
String modelEncoding
DistributionManagement distributionManagement
List<E> modules
List<E> repositories
List<E> pluginRepositories
List<E> dependencies
Object reports
Reporting reporting
mvn site
.
All of the reports will be included in the
navigation bar for browsing.DependencyManagement dependencyManagement
Properties properties
String type
boolean sendOnError
boolean sendOnFailure
boolean sendOnSuccess
boolean sendOnWarning
String address
Properties configuration
String artifactId
String groupId
String version
String relativePath
pom.xml
file within the check out.
The default value is ../pom.xml
.
Maven looks for the parent pom first in the
reactor of currently building projects, then 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.String groupId
String artifactId
String version
boolean extensions
List<E> executions
List<E> dependencies
Object goals
Map<K,V> executionMap
String key
PluginManagement pluginManagement
String id
String phase
List<E> goals
String maven
String id
Activation activation
BuildBase build
String source
Boolean excludeDefaultsValue
String outputDirectory
${project.build.directory}/site
.List<E> plugins
Map<K,V> reportPluginMap
String groupId
String artifactId
String version
String inherited
Object configuration
List<E> reportSets
Map<K,V> reportSetMap
boolean inheritanceApplied
String id
Object configuration
String inherited
List<E> reports
boolean inheritanceApplied
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
.boolean enabled
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).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.boolean filtering
properties
element and from the
properties in the files listed in the
filters
element.String mergeId
String connection
String developerConnection
connection
, but for
developers, i.e. this scm connection
will not be read only.String tag
String url
String id
settings.xml
file, for example.String name
String url
protocol://hostname/path
.String tag
String nagEmailAddress
String sourceDirectory
String unitTestSourceDirectory
String aspectSourceDirectory
String integrationUnitTestSourceDirectory
List<E> sourceModifications
UnitTest unitTest
String name
String email
String url
String organization
String organizationUrl
List<E> roles
String timezone
Properties properties
String id
groupId
and
artifactId
together instead.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 url
String jar
String type
jar
. While it
usually represents the extension on the filename
of the dependency,
that is not always the case.
Some examples are jar
,
war
, and plugin
.
A dependency of type plugin
is
loaded as a Maven plugin and
not added to the project build classpath.Properties properties
String id
String directory
String name
String url
String distribution
String comments
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
String pomVersion
3
.String extend
project.xml
file. For
example,
<extend>${basedir}/../project.xml</extend>
.String groupId
org.apache.maven
).String artifactId
String id
groupId
and artifactId
elements if they
were previously empty.String currentVersion
List<E> versions
String name
String shortDescription
String description
String url
String siteAddress
String siteDirectory
String inceptionYear
String logo
/images/project-logo.png
) or
an absolute URL
(e.g.,
http://my.corp/project-logo.png
). This is used
when generating the project documentation.Organization organization
List<E> licenses
List<E> mailingLists
List<E> developers
List<E> contributors
String issueTrackingUrl
List<E> branches
Repository repository
String gumpRepositoryId
String distributionSite
maven.repo.central
and maven.repo.central.directory
.String distributionDirectory
List<E> packageGroups
List<E> reports
Properties properties
String packageName
Build build
String modelEncoding
String name
String url
String logo
/images/org-logo.png
) or an
absolute URL
(e.g., http://my.corp/logo.png
).
This value is used
when generating the project documentation.String connection
String developerConnection
connection
, but for
developers, i.e. this scm connection
will not be read only.String url
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.boolean filtering
properties
element and from the
properties in the files listed in the
filters
element.String className
sourceDirectory
.String property
sourceDirectory
.String name
1.0
,
1.1-alpha1
,
1.2-beta
,
1.3.2
etc.String tag
String id
String groupId
String artifactId
String lastChecked
String useVersion
List<E> rejectedVersions
String updateInterval
String autoUpdate
String checkLatest
List<E> plugins
String modelEncoding
Map<K,V> pluginsByKey
RuntimeInfo runtimeInfo
String sourceLevel
boolean sourceLevelSet
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
String pomLocation
ModelValidationResult validationResult
String projectId
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
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
Object configuration
String localRepository
boolean interactiveMode
boolean usePluginRegistry
boolean offline
List<E> proxies
List<E> servers
List<E> mirrors
List<E> profiles
List<E> activeProfiles
List<E> pluginGroups
String modelEncoding
Proxy activeProxy
Map<K,V> profileMap
RuntimeInfo runtimeInfo
String sourceLevel
boolean sourceLevelSet
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.