maven.maven-v4_0_0.xsd Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython-standalone Show documentation
Show all versions of jython-standalone Show documentation
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
3.0.0+
The <code><project></code> element specifies various attributes
about a project. This is the root element of the project descriptor.
The following table lists all of the possible child elements. Child
elements with children are then documented further in subsequent
sections.
3.0.0+
The <code><project></code> element specifies various attributes
about a project. This is the root element of the project descriptor.
The following table lists all of the possible child elements. Child
elements with children are then documented further in subsequent
sections.
4.0.0
Information on which parent POM to extend.
4.0.0
Declares to which version of project descriptor this POM conforms.
3.0.0+
The short name of the project group. This value is used to group
all jars for a project in one directory. For more info look at the
<a href="/reference/conventions.html">user guide</a>.
3.0.0+
The short name of the project. This value is used in conjunction
with <code>groupId</code>
when naming <a href="/plugins/java/index.html">jars</a> and
<a href="/plugins/dist/index.html">distribution files</a>.
4.0.0
The type of artifact this project produces.
3.0.0+
The full name of the project. This value is used when
generating <a href="/plugins/javadoc/index.html">JavaDoc</a>
titles.
4.0.0
The current version of the artifact produced by this project.
3.0.0+
Optional. A detailed description of the project.
This description is used as the default to generate the
<a href="/plugins/site/index.html">Mailing Lists</a> of the project's
web site, and is shown when <code>maven --usage</code> is called on
the project. While this element can be specified as CDATA to enable
the use of HTML tags within the description, you are encouraged to
provide an alternative home page using <code>xdocs/index.xml</code>
if this is required.
3.0.0+
The URL to the project's homepage.
4.0.0
Describes the prerequisites in the build environment for this project.
4.0.0
The project's issue management information.
4.0.0
The project's continuous integration management information.
3.0.0+
The year of the project's inception specified with 4 digits.
This value is used when generating
<a href="/plugins/javadoc/index.html">JavaDoc</a> copyright notices.
3.0.0+
Contains information about a project's mailing lists. This
is used to generate the <a href="/plugins/site/index.html">front
page</a> of the site's web site.
3.0.0+
Describes the committers to a project. This is used to
generate the <a href="/plugins/site/index.html">Project Team</a>
page of the project's web site.
3.0.0+
Describes the contributors to a project. This is used to generate
the <a href="/plugins/site/index.html">Project Team</a> page of
the project's web site.
3.0.0+
This element describes all of the licenses for this project.
Each license is described by a <code>license</code> element, which
is then described by additional elements (described below). The
auto-generated site documentation references this information.
Projects should only list the license(s) that applies to the project
and not the licenses that apply to dependencies.
4.0.0
Specification for the SCM used by the project.
3.0.0+
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).
3.0.0+
Information required to build the project.
4.0.0
Listing of project-local build profiles which will modify the build process when activated.
4.0.0
The modules to build in addition to the current project
4.0.0
The lists of the remote repositories
4.0.0
The lists of the remote repositories for discovering plugins
3.0.0+
<p>
This element describes all of the dependencies associated with a
project. Each dependency is described by a
<code>dependency</code> element, which is then described by
additional elements (described below).
</p>
<p>
These dependencies are used to construct a classpath for your
project during the build process.
</p>
<p>
Maven can automatically download these dependencies from a
<a href="/user-guide.html#Remote%20Repository%20Layout">remote repository</a>.
</p>
<p>
The filename that Maven downloads from the repository is
<code>artifactId-version.jar</code> where <code>artifactId</code>
corresponds to the <code>artifactId</code> element and
<code>version</code> corresponds to the <code>version</code> element.
</p>
<p>
When Maven goes looking for a dependency in the remote repository,
it uses the dependency element to construct the URL to download
from. This URL is defined as:
</p>
<div class="source">
<pre>${repo}/${groupId}/${type}s/${artifactId}-${version}.${type}</pre>
</div>
<p>
Where
</p>
<dl>
<dt>repo</dt>
<dd>
is the remote repository URL specified by
<code>${maven.repo.remote}</code>
</dd>
<dt>groupId</dt>
<dd>is taken from the dependency element</dd>
<dt>type</dt>
<dd>is taken from the dependency element</dd>
<dt>artifactId</dt>
<dd>is taken from the dependency element</dd>
<dt>version</dt>
<dd>is taken from the dependency element</dd>
</dl>
4.0.0
NOT A VALID ELEMENT. LISTED TO ALLOW LEGACY REPOSITORY POMs TO PARSE.
4.0.0
This element includes the specification of reports to be
included in a Maven-generated site. These reports will be run
when a user executes <code>maven site</code>. All of the
reports will be included in the navigation bar for browsing in
the order they are specified.
4.0.0
Default dependency information for grouped projects inheriting from
this one. The dependency information here will not be checked.
Instead, when a POM derived from this one declares a dependency
described by a groupId and an artifactId (version not necessary),
the entries in here will supply default values for that dependency.
Any locally-supplied information for a particular dependency will
overwrite any information specified here for that project.
4.0.0
Distribution information for a project.
4.0.0
Properties used to fill in plugin configuration
3.0.0+
Description of a person who has contributed to the project, but who does
not have commit privileges. Usually, these contributions come in the
form of patches submitted.
3.0.0+
The full name of the contributor.
3.0.0+
The email address of the contributor.
3.0.0+
The URL for the homepage of the contributor.
3.0.0+
The organization to which the contributor belongs.
3.0.0+
The URL of the organization.
3.0.0+
The roles the contributor plays in the project. Each role is
described by a <code>role</code> element, the body of which is a
role name.
3.0.0+
The timezone the contributor is in. This is a number in the range -11 to 12.
3.0.0+
Properties about the contributor, such as an instant messenger handle.
4.0.0
Modifications to the build process which is keyed on some
sort of environmental parameter.
4.0.0
The ID of this build profile, for activation
purposes.
4.0.0
The conditional logic which will automatically
trigger the inclusion of this profile.
4.0.0
Information required to build the project.
4.0.0
The modules to build in addition to the current project
4.0.0
The lists of the remote repositories
4.0.0
The lists of the remote repositories for discovering plugins
3.0.0+
<p>
This element describes all of the dependencies associated with a
project. Each dependency is described by a
<code>dependency</code> element, which is then described by
additional elements (described below).
</p>
<p>
These dependencies are used to construct a classpath for your
project during the build process.
</p>
<p>
Maven can automatically download these dependencies from a
<a href="/user-guide.html#Remote%20Repository%20Layout">remote repository</a>.
</p>
<p>
The filename that Maven downloads from the repository is
<code>artifactId-version.jar</code> where <code>artifactId</code>
corresponds to the <code>artifactId</code> element and
<code>version</code> corresponds to the <code>version</code> element.
</p>
<p>
When Maven goes looking for a dependency in the remote repository,
it uses the dependency element to construct the URL to download
from. This URL is defined as:
</p>
<div class="source">
<pre>${repo}/${groupId}/${type}s/${artifactId}-${version}.${type}</pre>
</div>
<p>
Where
</p>
<dl>
<dt>repo</dt>
<dd>
is the remote repository URL specified by
<code>${maven.repo.remote}</code>
</dd>
<dt>groupId</dt>
<dd>is taken from the dependency element</dd>
<dt>type</dt>
<dd>is taken from the dependency element</dd>
<dt>artifactId</dt>
<dd>is taken from the dependency element</dd>
<dt>version</dt>
<dd>is taken from the dependency element</dd>
</dl>
4.0.0
NOT A VALID ELEMENT. LISTED TO ALLOW LEGACY REPOSITORY POMs TO PARSE.
4.0.0
This element includes the specification of reports to be
included in a Maven-generated site. These reports will be run
when a user executes <code>maven site</code>. All of the
reports will be included in the navigation bar for browsing in
the order they are specified.
4.0.0
Default dependency information for grouped projects inheriting from
this one. The dependency information here will not be checked.
Instead, when a POM derived from this one declares a dependency
described by a groupId and an artifactId (version not necessary),
the entries in here will supply default values for that dependency.
Any locally-supplied information for a particular dependency will
overwrite any information specified here for that project.
4.0.0
Distribution information for a project.
4.0.0
Properties used to fill in plugin configuration
4.0.0
The conditions within the build runtime environment which will trigger
the automatic inclusion of the parent build profile.
4.0.0
Flag specifying whether this profile is active as a default.
4.0.0
Specifies that this profile will be activated when a matching JDK is detected.
4.0.0
Specifies that this profile will be activated when matching OS attributes are detected.
4.0.0
Specifies that this profile will be activated when this System property is specified.
4.0.0
Specifies that this profile will be activated based on existence of a file.
4.0.0
This is the file specification used to activate a profile. The missing value will be a the location
of a file that needs to exist, and if it doesn't the profile must run. On the other hand exists will test
for the existence of the file and if it is there will run the profile.
4.0.0
The name of the file that should be missing to activate a profile
4.0.0
The name of the file that should exist to activate a profile
4.0.0
This is the property specification used to activate a profile. If the value field is empty,
then the existence of the named property will activate the profile, otherwise it does a case-sensitive
match against the property value as well.
4.0.0
The name of the property to be used to activate a profile
4.0.0
The value of the property to be used to activate a profile
4.0.0
This is an activator which will detect an operating system's attributes in order to activate
its profile.
4.0.0
The name of the OS to be used to activate a profile
4.0.0
The general family of the OS to be used to activate a profile (e.g. 'windows')
4.0.0
The architecture of the OS to be used to activate a profile
4.0.0
The version of the OS to be used to activate a profile
4.0.0
Section for management of default dependency information for use in a group of POMs.
4.0.0
The dependencies specified here are not validated until they
are referenced in a POM within the group. This allows the
specification of a "standard" version for a particular
dependency.
3.0.0+
3.0.0+
The project group that produced the dependency, e.g.
<code>geronimo</code>.
3.0.0+
The unique id for an artifact produced by the project group, e.g.
<code>germonimo-jms</code>
3.0.0+
The version of the dependency, e.g. <code>3.2.1</code>
3.0.0+
The type of dependency. This defaults to <code>jar</code>.
Known recognised dependency types are:
<ul>
<li><code>jar</code></li>
<li><code>ejb</code></li>
<li><code>plugin</code></li>
</ul>
4.0.0
The classifier of the dependency. This allows distinguishing two artifacts that belong to the same POM but
were built differently, and is appended to the filename after the version.
4.0.0
The scope of the dependency - compile, runtime, test. Used to
calculate the various classpaths used for testing, etc. and for
determining which artifacts to include in a distribution of this
project. For more information, see
<a href="http://maven.apache.org/maven2/dependencies-mechanism.html">Dependency Mechanism</a>.
4.0.0
FOR SYSTEM SCOPE ONLY. This specifies the path on the filesystem for this
dependency.
4.0.0
Lists a set of artifacts that should be excluded from this dependency's artifact list when it comes to
calculating transitive dependencies.
4.0.0
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.
4.0.0
4.0.0
The artifact id of the project to exclude.
4.0.0
The group id of the project to exclude.
4.0.0
Section for management of reports and configuration
4.0.0
If true, then the default reports are not included in the site generation
4.0.0
Where to store all of the generated reports
4.0.0
The report plugins) to use and their configuration
4.0.0
4.0.0
4.0.0
4.0.0
The version of the reporter to be used.
4.0.0
4.0.0
4.0.0
Multiple specifications of a set of reports, each having (possibly) different
configuration
4.0.0
Represents a set of reports and configuration to be used to generate them.
0.0.0+
The unique id for this report set, to be used during POM inheritance.
4.0.0
4.0.0
4.0.0
The list of reports from this reporter/plugin which should be generated from this set
(this configuration)
3.0.0+
3.0.0+
The default goal (or phase in Maven 2) to execute when none is specified for the project.
3.0.0+
This element describes all of the resources associated with a
project or unit tests. Each resource is described by a resource
element, which is then described by additional elements (described
<a href="#resource">below</a>). These resources are used to complete
the jar file or to run unit test.
4.0.0
This element describes all of the resources associated with a
project's unit tests. Each resource is described by a resource
element, which is then described by additional elements (described
<a href="#resource">below</a>). These resources are used to complete
the jar file or to run unit test.
4.0.0
The directory where all files generated by the build is placed.
4.0.0
The filename (including an extension, but with no path information) that the produced artifact
will be called. The default value is artifactId-version.extension (where extension is derived from
type).
4.0.0
The list of filter properties files that are used when filtering is enabled.
4.0.0
Default plugin information to be made available for reference by
projects derived from this one. This plugin configuration will not
be validated or bound to the lifecycle unless referenced. Any local
configuration for a given plugin will override the plugin's entire
definition here.
4.0.0
The plugins specified here are not validated until they
are referenced in a POM within the group. This allows the
specification of a "standard" version for a particular
plugin.
4.0.0
4.0.0
4.0.0
4.0.0
The version of the plugin to be used.
4.0.0
Whether to load Maven extensions (such as packaging and type handlers) from this
plugin
4.0.0
Multiple specifications of a set of goals, each having (possibly) different
configuration
4.0.0
Additional dependencies that this project needs to introduce to the plugin
4.0.0
NOT A VALID ELEMENT. LISTED TO ALLOW LEGACY REPOSITORY POMs TO PARSE.
4.0.0
Whether this container's configuration should be propagated to child POMs.
0.0.0+
4.0.0
4.0.0
4.0.0
4.0.0
4.0.0
Whether this container's configuration should be propagated to child POMs.
0.0.0+
4.0.0
Section for management of default plugin information for use in a group of POMs.
4.0.0
The plugins specified here are not validated until they
are referenced in a POM within the group. This allows the
specification of a "standard" version for a particular
plugin.
3.0.0+
This element describes all of the resources associated with a project or
unit tests. Each resource is described by a resource element, which is
then described by additional elements (described
<a href="#resource">below</a>). These resources are used to complete the
jar file or to run unit test.
3.0.0+
Describe the resource target path. For example, if you want that
resource appear into a specific package
(<code>org.apache.maven.messages</code>), you must specify this
element with this value : <code>org/apache/maven/messages</code>
3.0.0+
Boolean. Describe if resources are filtered or not.
3.0.0+
Describe the directory where the resource is stored.
The path may be absolute, or relative to the project.xml file.
3.0.0+
the description
3.0.0+
the description
4.0.0
This elements describes all that pertains to distribution for a project.
It is primarily used for deployment of artifacts and distributions
produced by the build.
4.0.0
Information needed for deploying to remote repository artifacts
generated by the project
4.0.0
Where to deploy snapshots of artifacts to. If not given, it defaults to the repository.
4.0.0
Information needed for deploying website files of the project.
4.0.0+
The URL of the project's download page. If not given users will be referred to the homepage given by
<code>url</code>.
4.0.0
Relocation information if the artifact has been moved to a new group/artifactId
4.0.0
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 reposiory. 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).
4.0.0
Site contains the information needed
for deploying websites.
4.0.0
A unique identifier for a deployment locataion.
4.0.0
Human readable name of the deployment location
4.0.0
The url of the location where website is deployed
4.0.0
Describes where an artifact has moved to. If any of the values are omitted, it is assumed to be the
same as it was before.
4.0.0
The group the artifact has moved to
4.0.0
The new artifact ID of the artifact
4.0.0
The new version of the artifact
4.0.0
An additional message to show the user about the move, such as the reason.
4.0.0
Repository contains the information needed for deploying to the remote repoistory
4.0.0
Whether to assign snapshots a unique version comprised of the timestamp and build number, or to use the same version each time
4.0.0
A unique identifier for a repository.
4.0.0
Human readable name of the repository
4.0.0
The url of the repository
4.0.0
The type of layout this repository uses for locating and storing artifacts - can be "legacy" or
"default".
4.0.0
Repository contains the information needed for establishing connections with remote repoistory
4.0.0
How to handle downloading of releases from this repository
4.0.0
How to handle downloading of snapshots from this repository
4.0.0
A unique identifier for a repository.
4.0.0
Human readable name of the repository
4.0.0
The url of the repository
4.0.0
The type of layout this repository uses for locating and storing artifacts - can be "legacy" or
"default".
4.0.0
Download policy
4.0.0
Whether to use this repository for downloading this type of artifact
4.0.0
The frequency for downloading updates - can be "always", "daily" (default), "interval:XXX" (in minutes) or
"never" (only if it doesn't exist locally).
4.0.0
What to do when verification of an artifact checksum fails - warn, fail, etc. Valid values are
"fail" or "warn"
3.0.0+
This element describes all of the mailing lists associated with
a project. Each mailing list is described by a
<code>mailingList</code> element, which is then described by
additional elements (described below). The auto-generated site
documentation references this information.
3.0.0+
The name of the mailing list.
3.0.0+
The email address or link that can be used to subscribe to the mailing list.
If this is an email address, a
<code>mailto:</code> link will automatically be created when
the documentation is created.
3.0.0+
The email address or link that can be used to unsubscribe to
the mailing list. If this is an email address, a
<code>mailto:</code> link will automatically be created
when the documentation is created.
3.0.0+
The email address or link that can be used to post to
the mailing list. If this is an email address, a
<code>mailto:</code> link will automatically be created
when the documentation is created.
3.0.0+
The link to a URL where you can browse the mailing list archive.
3.0.0+
The link to other URLs where you can browse the list archive.
3.0.0+
3.0.0+
This element specifies a directory containing the source
of the project. The generated build system will compile
the source in this directory when the project is built.
The path given is relative to the project descriptor.
4.0.0
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).
4.0.0
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 unit tests must use the JUnit test framework.
The path given is relative to the project descriptor.
4.0.0
The directory where compiled application classes are placed.
4.0.0
The directory where compiled test classes are placed.
4.0.0
A set of build extensions to use from this project.
3.0.0+
The default goal (or phase in Maven 2) to execute when none is specified for the project.
3.0.0+
This element describes all of the resources associated with a
project or unit tests. Each resource is described by a resource
element, which is then described by additional elements (described
<a href="#resource">below</a>). These resources are used to complete
the jar file or to run unit test.
4.0.0
This element describes all of the resources associated with a
project's unit tests. Each resource is described by a resource
element, which is then described by additional elements (described
<a href="#resource">below</a>). These resources are used to complete
the jar file or to run unit test.
4.0.0
The directory where all files generated by the build is placed.
4.0.0
The filename (including an extension, but with no path information) that the produced artifact
will be called. The default value is artifactId-version.extension (where extension is derived from
type).
4.0.0
The list of filter properties files that are used when filtering is enabled.
4.0.0
Default plugin information to be made available for reference by
projects derived from this one. This plugin configuration will not
be validated or bound to the lifecycle unless referenced. Any local
configuration for a given plugin will override the plugin's entire
definition here.
4.0.0
The plugins specified here are not validated until they
are referenced in a POM within the group. This allows the
specification of a "standard" version for a particular
plugin.
4.0.0
Describes a build extension to utilise
4.0.0
The group of the extension's artifact.
4.0.0
The artifact ID of the extension
4.0.0
The version of the extension
4.0.0
Information about the bugtracking system used to manage this project.
4.0.0
The name of the issue management system i.e. Bugzilla
4.0.0
Url for the issue management system used by the project.
4.0.0
4.0.0
The artifact id of the project to extend.
4.0.0
The group id of the project to extend.
4.0.0
The version of the project to extend.
4.0.0
The relative path of the parent-pom within the project hierarchy
4.0.0
Describes the prerequisites a project can have
4.0.0
The minimum version of Maven required
4.0.0
4.0.0
The name of the continuous integration system i.e. Bugzilla
4.0.0
Url for the continuous integration system used by the project.
4.0.0
Configuration for notifying developers/users when a build is
unsuccessful, including user information and notification mode.
4.0.0
Configures one method for notifying users/developers when a build breaks.
4.0.0
The mechanism used to deliver notifications.
4.0.0
Send notification on error.
4.0.0
Send notification on failure.
4.0.0
Send notification on success.
4.0.0
Send notification on warning.
4.0.0
Where to send the notification to - eg email address. DEPRECATED.
0.0.0+
Extended configuration specific to this notifier goes here.
3.0.0+
Describes the licenses for this project. This is used to generate
the <a href="/plugins/site/index.html">License</a> page of
the project's web site. Typically the licenses listed for the project
are that of the project itself, and not of dependencies.
3.0.0+
The full legal name of the license.
3.0.0+
The official url for the license text.
3.0.0+
The primary method by which this project may be distributed.
<dl>
<dt>repo</dt>
<dd>may be downloaded from the Maven repository</dd>
<dt>manual</dt>
<dd>user must manually download and install the dependency.</dd>
</dl>
3.0.0+
Addendum information pertaining to this license.
3.0.0+
Information about one of the committers on this project. Derived from
<code>Contributor</code>.
3.0.0+
The username of the developer.
3.0.0+
The full name of the contributor.
3.0.0+
The email address of the contributor.
3.0.0+
The URL for the homepage of the contributor.
3.0.0+
The organization to which the contributor belongs.
3.0.0+
The URL of the organization.
3.0.0+
The roles the contributor plays in the project. Each role is
described by a <code>role</code> element, the body of which is a
role name.
3.0.0+
The timezone the contributor is in. This is a number in the range -11 to 12.
3.0.0+
Properties about the contributor, such as an instant messenger handle.
4.0.0
4.0.0
The source configuration management system URL
that describes the repository and how to connect to the
repository. This is used by Maven when
<a
href="/plugins/dist/index.html">building versions</a>
from specific ID.
4.0.0
Just like connection, but for developers, i.e. this scm connection
will not be read only.
4.0.0
The tag of current code. By default, it's set to HEAD during development.
4.0.0
The URL to the project's browsable CVS repository.
3.0.0+
Specifies the organization who produces this project.
3.0.0+
The full name of the organization.
3.0.0+
The URL to the organization's home page.