2005-09-13 07:41:52 -04:00
<?xml version="1.0"?>
2004-03-08 11:42:02 -05:00
<!--
|
| o add specification element to a field, this would be more a technical description of
| what is allowed in the field.
|
| o validators: there could be several levels of validation. Simple type validation could
| be done with a regex, but we need inter-field validation and rules which could be
| dealt with by something like drools.
|
| o i18n: would be good to be able to have names/descriptions/specifications
| in as many languages as possible.
|
| o annotation mechanism so that changes to the model can be accurately tracked.
2004-03-08 12:29:47 -05:00
|
2004-12-17 08:15:30 -05:00
| o need to clean up all the descriptions, matching anything to the current project-descriptor.xml file and
| improving on that
|
2005-03-07 03:15:26 -05:00
| o use enums where appropriate (eg dependency scope)
|
2005-06-07 10:22:38 -04:00
| o a number of elements have a grouId/artifactId and sometimes version. It would be good to have them all extend one
| definition of these types
|
2004-03-08 11:42:02 -05:00
-->
2004-03-07 20:31:17 -05:00
<model>
2004-03-08 16:22:40 -05:00
<id>maven</id>
2004-03-07 20:31:17 -05:00
<name>Maven</name>
2005-06-06 02:18:45 -04:00
<description><![CDATA[
<p>This is a reference for the Maven project descriptor used in Maven.</p>
<p>An XSD is available at:</p>
<ul>
2005-07-25 05:51:12 -04:00
<li><a href="http://maven.apache.org/maven-v3_0_0.xsd">http://maven.apache.org/maven-v3_0_0.xsd</a> for Maven 1.1.</li>
<li><a href="http://maven.apache.org/maven-v4_0_0.xsd">http://maven.apache.org/maven-v4_0_0.xsd</a> for Maven 2.0.</li>
2005-06-06 02:18:45 -04:00
</ul>
]]></description>
2004-09-26 09:29:06 -04:00
<defaults>
<default>
<key>package</key>
<value>org.apache.maven.model</value>
</default>
</defaults>
2004-03-07 20:31:17 -05:00
<classes>
2005-03-09 20:35:25 -05:00
<class rootElement="true" xml.tagName="project">
2004-03-07 20:31:17 -05:00
<name>Model</name>
2005-06-01 23:01:16 -04:00
<superClass>ModelBase</superClass>
2005-03-10 21:15:41 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The <code><project></code> element is the root of the descriptor.
The following table lists all of the possible child elements.
2005-03-10 20:52:18 -05:00
]]></description>
2004-06-06 01:50:24 -04:00
<version>3.0.0+</version>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>extend</name>
2005-05-11 04:17:06 -04:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
The location of the parent project, if one exists. Values from the
2005-03-10 20:52:18 -05:00
parent project will be the default for this project if they are
left unspecified. The path may be absolute, or relative to the
2006-03-09 21:41:32 -05:00
current <code>project.xml</code> file. For example,
<code><extend>${basedir}/../project.xml</extend></code>.
2005-04-08 22:07:15 -04:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2004-04-12 10:41:05 -04:00
<field>
<name>parent</name>
2004-04-14 22:03:54 -04:00
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
The location of the parent project, if one exists. Values from the
parent project will be the default for this project if they are
left unspecified. The location is given as a group ID, artifact ID and version.
]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>Parent</type>
</association>
2004-04-12 10:41:05 -04:00
<comment></comment>
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>modelVersion</name>
2004-04-14 22:03:54 -04:00
<version>4.0.0</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2005-03-10 20:52:18 -05:00
<description><![CDATA[Declares to which version of project descriptor this POM conforms.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2004-03-10 18:23:02 -05:00
<field>
<name>pomVersion</name>
2004-04-14 22:03:54 -04:00
<version>3.0.0</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2004-04-17 13:15:58 -04:00
<type>String</type>
2006-03-09 21:41:32 -05:00
<description>
<![CDATA[Declares to which version of project descriptor this POM conforms. The only valid value is <code>3</code>.]]></description>
2004-03-10 18:23:02 -05:00
</field>
2004-09-18 21:30:53 -04:00
<field>
2006-03-09 21:41:32 -05:00
<name>groupId</name>
<version>3.0.0+</version>
2004-09-18 21:30:53 -04:00
<required>true</required>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
A universally unique identifier for a project. It is normal to
use a fully-qualified package name to distinguish it from other projects with a similar name
(eg. <code>org.apache.maven</code>).
2004-12-17 08:15:30 -05:00
]]></description>
2004-09-18 21:30:53 -04:00
<type>String</type>
</field>
2004-03-07 20:31:17 -05:00
<field>
2006-03-09 21:41:32 -05:00
<name>artifactId</name>
2004-04-17 11:13:31 -04:00
<version>3.0.0+</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The identifier for this artifact that is unique within the group given by the group ID.
An artifact is something that is either produced or used by a project. Examples of artifacts produced by
Maven for a project include: JARs, source and binary distributions, and WARs.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
2006-03-09 21:41:32 -05:00
<name>id</name>
<version>3.0.0</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
<b>Deprecated</b>. When used, this sets both the <code>groupId</code> and <code>artifactId</code> elements
if they were previously empty.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2004-04-14 21:59:20 -04:00
<field>
2005-03-09 20:35:25 -05:00
<name>packaging</name>
2004-04-14 21:59:20 -04:00
<version>4.0.0</version>
2006-01-20 14:25:38 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The type of artifact this project produces, for example <code>jar</code>
<code>war</code>
<code>ear</code>
<code>pom</code>.
Plugins can create their own packaging, and
2006-01-20 14:25:38 -05:00
therefore their own packaging types,
2006-03-09 21:41:32 -05:00
so this list does not contain all possible types.
2006-01-20 14:25:38 -05:00
]]></description>
2004-04-14 21:59:20 -04:00
<type>String</type>
<defaultValue>jar</defaultValue>
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>name</name>
2004-04-17 11:13:31 -04:00
<version>3.0.0+</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The full name of the project.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2004-03-10 17:24:29 -05:00
<field>
<name>currentVersion</name>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The current version of the artifact produced by this project.
2005-03-10 20:52:18 -05:00
]]></description>
2004-04-14 22:03:54 -04:00
<version>3.0.0</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2004-04-17 13:15:58 -04:00
<type>String</type>
2004-03-10 17:24:29 -05:00
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>version</name>
2004-04-14 22:03:54 -04:00
<version>4.0.0</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
The current version of the artifact produced by this project.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>shortDescription</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
A short description of the project. The short description should be
2005-03-10 20:52:18 -05:00
limited to a single line.
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>description</name>
2004-04-17 11:13:31 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
A detailed description of the project, used by Maven whenever it needs to describe the project,
such as on the web site. While this element can be specified as CDATA to enable
the use of HTML tags within the description, it is discouraged to allow plain text representation.
If you need to modify the index page of the generated web site, you are able to specify your own instead
of adjusting this text.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>url</name>
2004-04-17 11:13:31 -04:00
<version>3.0.0+</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
The URL to the project's homepage.
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>logo</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The URL of the project's logo image. This can be an URL relative
2005-03-10 20:52:18 -05:00
to the base directory of the generated web site,
(e.g., <code>/images/project-logo.png</code>) or an absolute URL
(e.g., <code>http://my.corp/project-logo.png</code>). This is used
when generating the project documentation.
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2005-07-18 07:57:29 -04:00
<field>
2005-09-15 20:23:26 -04:00
<name>prerequisites</name>
2005-07-18 07:57:29 -04:00
<version>4.0.0</version>
<description>
2005-09-15 20:23:26 -04:00
Describes the prerequisites in the build environment for this project.
2005-07-18 07:57:29 -04:00
</description>
<association>
2005-09-15 20:23:26 -04:00
<type>Prerequisites</type>
2005-07-18 07:57:29 -04:00
</association>
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>issueTrackingUrl</name>
2004-04-14 22:03:54 -04:00
<version>3.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The URL of the project's issue tracking system.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2004-04-17 11:13:31 -04:00
<field>
<name>issueManagement</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The project's issue management system information.]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>IssueManagement</type>
</association>
2004-04-17 11:13:31 -04:00
</field>
2004-04-29 18:39:05 -04:00
<field>
<name>ciManagement</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The project's continuous integration information.]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>CiManagement</type>
</association>
2004-04-29 18:39:05 -04:00
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>inceptionYear</name>
2004-04-17 11:13:31 -04:00
<version>3.0.0+</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The year of the project's inception, specified with 4 digits.
This value is used when generating copyright notices as well as being informational.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>gumpRepositoryId</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
This is the repository identifier in Gump that this project is part of.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>siteAddress</name>
2004-06-23 14:03:06 -04:00
<version>3.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The hostname of the web server that hosts the project's web site. This is used when the web site is
deployed.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>siteDirectory</name>
2004-06-23 14:03:06 -04:00
<version>3.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The directory on the web server where the public web site
for this project resides. This is used when the web site is deployed.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>distributionSite</name>
2004-06-19 14:58:59 -04:00
<version>3.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The server where the final distributions will be published. This is used when the
distributions are deployed. If this isn't defined, the central repository is used instead as
determined by <code>maven.repo.central</code> and <code>maven.repo.central.directory</code>.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>distributionDirectory</name>
2004-06-19 14:58:59 -04:00
<version>3.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The directory on the web server where the final distributions will be published. This is used when the
distributions are deployed.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>mailingLists</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Contains information about a project's mailing lists.
2005-03-10 20:52:18 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>MailingList</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
<field>
<name>developers</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Describes the committers of a project.
2004-12-17 08:15:30 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>Developer</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
<field>
<name>contributors</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Describes the contributors to a project that are not yet committers.
2004-12-17 08:15:30 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>Contributor</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
<field>
<name>licenses</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
This element describes all of the licenses for this project.
2005-03-10 20:52:18 -05:00
Each license is described by a <code>license</code> element, which
2006-03-09 21:41:32 -05:00
is then described by additional elements.
2005-03-10 20:52:18 -05:00
Projects should only list the license(s) that applies to the project
and not the licenses that apply to dependencies.
2006-03-09 21:41:32 -05:00
If multiple licenses are listed, it is assumed that the user can select any of them, not that they
must accept all.
2004-12-17 08:15:30 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>License</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
<field>
<name>versions</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Contains information on previous versions of the project.
2005-03-10 20:52:18 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>Version</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
<field>
<name>branches</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Contains information on SCM branches of the project.
2005-03-10 20:52:18 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>Branch</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
<field>
<name>packageGroups</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[Package groups required for complete javadocs.]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>PackageGroup</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
<field>
<name>reports</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-06-06 02:18:45 -04:00
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.
2004-12-17 08:15:30 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>String</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
<field>
2004-04-12 23:19:09 -04:00
<name>scm</name>
2004-04-16 17:48:24 -04:00
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>
<![CDATA[Specification for the SCM used by the project, such as CVS, Subversion, etc.]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>Scm</type>
</association>
2004-04-16 17:48:24 -04:00
</field>
<field>
<name>repository</name>
<version>3.0.0</version>
2006-03-09 21:41:32 -05:00
<description>
<![CDATA[Specification for the SCM used by the project, such as CVS, Subversion, etc.]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>Repository</type>
</association>
2004-03-07 20:31:17 -05:00
</field>
<field>
<name>organization</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-05-18 01:33:59 -04:00
This element describes various attributes of the organization to
2005-04-08 22:07:15 -04:00
which the project belongs. These attributes are utilized when
documentation is created (for copyright notices and links).
2004-12-17 08:15:30 -05:00
]]></description>
2005-10-08 21:36:57 -04:00
<alias>organisation</alias>
2004-09-26 09:29:06 -04:00
<association>
<type>Organization</type>
</association>
2004-03-07 20:31:17 -05:00
</field>
2004-09-02 08:34:19 -04:00
<field>
<name>properties</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Project properties that will be used by various plugins. The format is <code><name>value</name></code>.
2004-12-17 08:15:30 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<type>Properties</type>
2004-10-01 08:35:20 -04:00
<association xml.mapStyle="inline">
2004-09-26 09:29:06 -04:00
<type>String</type>
<multiplicity>*</multiplicity>
</association>
2004-09-02 08:34:19 -04:00
</field>
2005-02-22 23:12:09 -05:00
<field xml.tagName="package">
<name>packageName</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2005-02-22 23:12:09 -05:00
<type>String</type>
2005-03-10 21:15:41 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
The Java package name of the project. This value is used
2006-03-09 21:41:32 -05:00
when generating JavaDoc.
2005-03-10 20:52:18 -05:00
]]></description>
2005-02-22 23:12:09 -05:00
</field>
2005-06-01 23:29:34 -04:00
<field>
<name>build</name>
<version>3.0.0+</version>
<required>true</required>
<description><![CDATA[Information required to build the project.]]></description>
<association>
<type>Build</type>
</association>
</field>
2005-05-31 12:24:34 -04:00
<field>
<name>profiles</name>
<version>4.0.0</version>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
A listing of project-local build profiles which will modify the build process when activated.
2005-05-31 12:24:34 -04:00
]]></description>
<association>
<type>Profile</type>
<multiplicity>*</multiplicity>
</association>
</field>
2004-03-07 20:31:17 -05:00
</fields>
2004-04-17 00:22:52 -04:00
<codeSegments>
2004-09-19 00:12:46 -04:00
<codeSegment>
<version>3.0.0</version>
2005-03-17 17:53:12 -05:00
<code><![CDATA[
public void setVersion(String version)
{
this.currentVersion = version;
}
public String getVersion()
{
return currentVersion;
}
/* We need this because we can't use package as a field name.*/
public void setPackage(String packageName)
{
this.packageName = packageName;
}
public String getPackage()
{
return packageName;
}
]]></code>
2004-04-17 11:13:31 -04:00
</codeSegment>
<codeSegment>
<version>4.0.0</version>
2005-03-17 17:53:12 -05:00
<code><![CDATA[
2004-04-17 00:22:52 -04:00
public String getId()
2004-03-07 20:31:17 -05:00
{
2004-04-17 00:22:52 -04:00
StringBuffer id = new StringBuffer();
2004-06-27 14:46:52 -04:00
2004-04-17 00:22:52 -04:00
id.append( getGroupId() );
id.append( ":" );
id.append( getArtifactId() );
id.append( ":" );
2005-03-09 20:35:25 -05:00
id.append( getPackaging() );
2004-06-27 14:46:52 -04:00
id.append( ":" );
id.append( getVersion() );
2004-04-17 00:22:52 -04:00
return id.toString();
2004-03-07 20:31:17 -05:00
}
2005-03-17 17:53:12 -05:00
]]></code>
2004-04-17 00:22:52 -04:00
</codeSegment>
</codeSegments>
2004-03-07 20:31:17 -05:00
</class>
2005-06-01 23:01:16 -04:00
<class>
<name>ModelBase</name>
<version>3.0.0+</version>
<fields>
<field>
<name>modules</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>
The modules (sometimes called subprojects) to build as a part of this project.
Each module listed is a relative path to the directory containing the module.
</description>
2005-06-01 23:01:16 -04:00
<association>
<type>String</type>
<multiplicity>*</multiplicity>
</association>
</field>
<field>
<name>repositories</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The lists of the remote repositories for discovering dependencies and
extensions.]]></description>
2005-06-01 23:01:16 -04:00
<association>
<type>Repository</type>
<multiplicity>*</multiplicity>
</association>
</field>
<field>
<name>pluginRepositories</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>
<![CDATA[The lists of the remote repositories for discovering plugins for builds and reports.]]></description>
2005-06-01 23:01:16 -04:00
<association>
<type>Repository</type>
<multiplicity>*</multiplicity>
</association>
</field>
<field>
<name>dependencies</name>
<version>3.0.0+</version>
<description><![CDATA[
This element describes all of the dependencies associated with a
2006-03-09 21:41:32 -05:00
project.
2005-06-01 23:01:16 -04:00
These dependencies are used to construct a classpath for your
2006-03-09 21:41:32 -05:00
project during the build process. They are automatically downloaded from the
repositories defined in this project.
See <a href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html">the
dependency mechanism</a> for more information.
2005-06-01 23:01:16 -04:00
]]></description>
<association>
<type>Dependency</type>
<multiplicity>*</multiplicity>
</association>
</field>
2005-06-18 09:01:26 -04:00
<field>
<name>reports</name>
<version>4.0.0</version>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
<b>Deprecated</b>. Now ignored by Maven.
2005-06-18 09:01:26 -04:00
]]></description>
<type>DOM</type>
</field>
2005-06-01 23:01:16 -04:00
<field>
2005-06-17 20:43:00 -04:00
<name>reporting</name>
2005-06-01 23:01:16 -04:00
<version>4.0.0</version>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
This element includes the specification of report plugins to use to generate the reports on the
Maven-generated site. These reports will be run when a user executes <code>mvn site</code>. All of the
reports will be included in the navigation bar for browsing.
2005-06-01 23:01:16 -04:00
]]></description>
<association>
2005-06-17 20:43:00 -04:00
<type>Reporting</type>
2005-06-01 23:01:16 -04:00
</association>
</field>
<field>
<name>dependencyManagement</name>
<version>4.0.0</version>
<required>false</required>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Default dependency information for projects that inherit from
this one. The dependencies in this section are not immediately resolved.
2005-06-01 23:01:16 -04:00
Instead, when a POM derived from this one declares a dependency
2006-03-09 21:41:32 -05:00
described by a matching groupId and artifactId, the version and other values from this
section are used for that dependency if they were not already specified.
2005-06-01 23:01:16 -04:00
]]></description>
<association>
<type>DependencyManagement</type>
</association>
</field>
<field>
<name>distributionManagement</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[Distribution information for a project that enables deployment of the site
and artifacts to remote web servers and repositories respectively.]]></description>
2005-06-01 23:01:16 -04:00
<association>
<type>DistributionManagement</type>
</association>
</field>
2005-09-08 11:08:57 -04:00
<field>
<name>properties</name>
<version>4.0.0</version>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Properties that can be used throughout the POM as a substitution, and are used as filters in resources
if enabled. The format is <code><name>value</name></code>.
2005-09-08 11:08:57 -04:00
]]></description>
<type>Properties</type>
<association xml.mapStyle="inline">
<type>String</type>
<multiplicity>*</multiplicity>
</association>
</field>
2005-06-01 23:01:16 -04:00
</fields>
</class>
2004-03-07 20:31:17 -05:00
<class>
<name>Branch</name>
2005-02-23 00:13:22 -05:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Contains information on the SCM branches of the project.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>tag</name>
2005-02-23 00:13:22 -05:00
<version>3.0.0</version>
2004-09-02 08:34:19 -04:00
<required>true</required>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
The branch tag in the version control system (e.g. cvs) used by the
2005-03-10 20:52:18 -05:00
project for the source code associated with this branch of the
2004-03-08 16:33:06 -05:00
project.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
</fields>
</class>
2005-05-04 13:34:52 -04:00
<class>
<name>PluginContainer</name>
<version>3.0.0+</version>
<fields>
<field>
<name>plugins</name>
<version>4.0.0</version>
<description>
2006-03-09 21:41:32 -05:00
The list of plugins to use.
2005-05-04 13:34:52 -04:00
</description>
<association>
<type>Plugin</type>
<multiplicity>*</multiplicity>
</association>
</field>
</fields>
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
2005-09-13 07:41:52 -04:00
java.util.Map pluginMap;
2005-05-27 17:47:12 -04:00
public void flushPluginMap()
{
this.pluginMap = null;
}
2005-05-04 13:34:52 -04:00
2005-09-13 07:41:52 -04:00
public java.util.Map getPluginsAsMap()
2005-05-04 13:34:52 -04:00
{
if ( pluginMap == null )
{
2005-09-13 07:41:52 -04:00
pluginMap = new java.util.HashMap();
2005-05-04 13:34:52 -04:00
if ( plugins != null )
{
2005-09-13 07:41:52 -04:00
for ( java.util.Iterator it = plugins.iterator(); it.hasNext(); )
2005-05-04 13:34:52 -04:00
{
Plugin plugin = (Plugin) it.next();
pluginMap.put( plugin.getKey(), plugin );
}
}
}
return pluginMap;
}
]]></code>
</codeSegment>
</codeSegments>
</class>
2004-03-07 20:31:17 -05:00
<class>
2005-05-31 12:24:34 -04:00
<name>PluginConfiguration</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2005-05-04 13:34:52 -04:00
<superClass>PluginContainer</superClass>
2005-05-31 12:24:34 -04:00
<fields>
<!-- [ jdcasey:06-Mar-2005 ] Added to handle version management, etc. for
| plugins to be used in sub-projects. -->
<field>
<name>pluginManagement</name>
<version>4.0.0</version>
<required>false</required>
<description><![CDATA[
Default plugin information to be made available for reference by
projects derived from this one. This plugin configuration will not
2006-03-09 21:41:32 -05:00
be resolved or bound to the lifecycle unless referenced. Any local
2005-05-31 12:24:34 -04:00
configuration for a given plugin will override the plugin's entire
definition here.
]]></description>
<association>
<type>PluginManagement</type>
</association>
</field>
</fields>
</class>
<class>
2005-06-01 23:29:34 -04:00
<name>BuildBase</name>
2005-05-31 12:24:34 -04:00
<version>3.0.0+</version>
<superClass>PluginConfiguration</superClass>
2004-03-07 20:31:17 -05:00
<fields>
2005-05-18 01:33:59 -04:00
<field>
<name>defaultGoal</name>
<version>3.0.0+</version>
<description><![CDATA[
The default goal (or phase in Maven 2) to execute when none is specified for the project.
]]></description>
<type>String</type>
</field>
2005-06-01 23:29:34 -04:00
<field>
<name>resources</name>
<version>3.0.0+</version>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
This element describes all of the classpath resources such as properties files associated with a
project. These resources are often included in the final package.
2005-06-01 23:29:34 -04:00
]]></description>
<association>
<type>Resource</type>
<multiplicity>*</multiplicity>
</association>
</field>
<field>
<name>testResources</name>
<version>4.0.0</version>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
This element describes all of the classpath resources such as properties files associated with a
project's unit tests.
2005-06-01 23:29:34 -04:00
]]></description>
<association>
<type>Resource</type>
<multiplicity>*</multiplicity>
</association>
</field>
2005-08-12 13:06:38 -04:00
<field>
<name>directory</name>
<version>4.0.0</version>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The directory where all files generated by the build are placed.
2005-08-12 13:06:38 -04:00
]]></description>
<type>String</type>
</field>
2005-06-01 23:29:34 -04:00
<field>
<name>finalName</name>
<version>4.0.0</version>
<description><![CDATA[
2006-02-21 09:03:47 -05:00
The filename (excluding the extension, and with no path information) that the produced artifact
2006-03-09 21:41:32 -05:00
will be called. The default value is <code>${artifactId}-${version}</code>.
2005-06-01 23:29:34 -04:00
]]></description>
<type>String</type>
</field>
2005-09-21 22:52:39 -04:00
<field>
<name>filters</name>
<version>4.0.0</version>
<description><![CDATA[
The list of filter properties files that are used when filtering is enabled.
]]></description>
<association>
<type>String</type>
<multiplicity>*</multiplicity>
</association>
</field>
2005-06-01 23:29:34 -04:00
</fields>
</class>
<class>
<name>Build</name>
<version>3.0.0+</version>
<superClass>BuildBase</superClass>
<fields>
2004-03-07 20:31:17 -05:00
<field>
<name>nagEmailAddress</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
An address to which notifications regarding the status of builds
2004-03-08 16:53:16 -05:00
for this project can be sent. This is intended for use by tools
which do unattended builds, for example those providing for
2006-03-09 21:41:32 -05:00
continuous integration.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>sourceDirectory</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
<required>true</required>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
This element specifies a directory containing the source
2004-03-08 16:53:16 -05:00
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.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2005-03-09 20:35:25 -05:00
<field>
<name>scriptSourceDirectory</name>
<version>4.0.0</version>
<required>true</required>
<description><![CDATA[
This element specifies a directory containing the script sources
2005-03-10 20:52:18 -05:00
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).
2005-03-09 20:35:25 -05:00
]]></description>
<type>String</type>
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>unitTestSourceDirectory</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
<required>true</required>
<description><![CDATA[
2005-04-08 22:07:15 -04:00
This element specifies a directory containing the unit test
2005-03-09 20:35:25 -05:00
source of the project. The generated build system will
compile these directories when the project is being tested.
The path given is relative to the project descriptor.
]]></description>
<type>String</type>
</field>
<field>
<name>testSourceDirectory</name>
<version>4.0.0</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-03-08 16:53:16 -05:00
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 path given is relative to the project descriptor.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2005-03-17 17:53:12 -05:00
<field>
<name>aspectSourceDirectory</name>
<version>3.0.0</version>
2005-04-08 22:07:15 -04:00
<description><![CDATA[
This element specifies a directory containing Aspect
sources of the project. The generated build system will
compile the Aspects in this directory when the project is
2006-03-09 21:41:32 -05:00
built if Aspects have been enabled.
2005-04-08 22:07:15 -04:00
The path given is relative to the project descriptor.
2005-03-17 17:53:12 -05:00
]]></description>
<type>String</type>
</field>
<field>
<name>integrationUnitTestSourceDirectory</name>
<version>3.0.0</version>
2005-04-08 22:07:15 -04:00
<description><![CDATA[
This element specifies a directory containing integration test
2006-03-09 21:41:32 -05:00
sources of the project. This element is not known to be used.
2005-03-17 17:53:12 -05:00
]]></description>
<type>String</type>
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>sourceModifications</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
This element describes all of the sourceModifications associated
2006-03-09 21:41:32 -05:00
with a project. These modifications are used
2005-04-08 22:07:15 -04:00
to exclude or include various source depending on the environment
the build is running in.
2004-12-17 08:15:30 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>SourceModification</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
<field>
<name>unitTest</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
This element specifies unit tests associated with the project.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<defaultValue>new UnitTest()</defaultValue>
2004-09-26 09:29:06 -04:00
<association>
<type>UnitTest</type>
</association>
2004-03-07 20:31:17 -05:00
</field>
2004-06-14 19:21:23 -04:00
<field>
2005-03-09 20:35:25 -05:00
<name>outputDirectory</name>
2004-06-14 19:21:23 -04:00
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-06-14 19:21:23 -04:00
The directory where compiled application classes are placed.
2004-12-17 08:15:30 -05:00
]]></description>
2004-06-14 19:21:23 -04:00
<type>String</type>
</field>
<field>
2005-03-09 20:35:25 -05:00
<name>testOutputDirectory</name>
2004-06-14 19:21:23 -04:00
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-06-14 19:21:23 -04:00
The directory where compiled test classes are placed.
2004-12-17 08:15:30 -05:00
]]></description>
2004-06-14 19:21:23 -04:00
<type>String</type>
</field>
2005-07-27 02:14:20 -04:00
<field>
<name>extensions</name>
<version>4.0.0</version>
<description>A set of build extensions to use from this project.</description>
<association>
<type>Extension</type>
<multiplicity>*</multiplicity>
</association>
</field>
2004-03-07 20:31:17 -05:00
</fields>
</class>
2004-04-29 18:39:05 -04:00
<class>
<name>CiManagement</name>
<version>4.0.0</version>
<fields>
<field>
<name>system</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>
<![CDATA[The name of the continuous integration system, e.g. <code>continuum</code>.]]></description>
2004-04-29 18:39:05 -04:00
<type>String</type>
</field>
<field>
<name>url</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>
<![CDATA[URL for the continuous integration system used by the project if it has a web interface.]]></description>
2004-04-29 18:39:05 -04:00
<type>String</type>
</field>
2004-06-27 03:03:31 -04:00
<field>
2005-03-09 20:35:25 -05:00
<name>notifiers</name>
<version>4.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
Configuration for notifying developers/users when a build is
2005-03-10 20:52:18 -05:00
unsuccessful, including user information and notification mode.
]]></description>
2005-03-09 20:35:25 -05:00
<association>
<multiplicity>*</multiplicity>
<type>Notifier</type>
</association>
</field>
</fields>
</class>
<class>
<name>Notifier</name>
2005-03-10 20:52:18 -05:00
<description>
2005-04-08 22:07:15 -04:00
Configures one method for notifying users/developers when a build breaks.
2005-03-10 20:52:18 -05:00
</description>
2005-03-09 20:35:25 -05:00
<version>4.0.0</version>
<fields>
<field>
<name>type</name>
2004-06-27 03:03:31 -04:00
<version>4.0.0</version>
2005-03-21 09:38:59 -05:00
<defaultValue>mail</defaultValue>
2004-06-27 03:03:31 -04:00
<type>String</type>
2005-03-10 20:52:18 -05:00
<description>The mechanism used to deliver notifications.</description>
2005-03-09 20:35:25 -05:00
</field>
2005-09-13 10:20:59 -04:00
<field>
<name>sendOnError</name>
<version>4.0.0</version>
<defaultValue>true</defaultValue>
<type>boolean</type>
2006-03-09 21:41:32 -05:00
<description>Whether to send notifications on error.</description>
2005-09-13 10:20:59 -04:00
</field>
<field>
<name>sendOnFailure</name>
<version>4.0.0</version>
<defaultValue>true</defaultValue>
<type>boolean</type>
2006-03-09 21:41:32 -05:00
<description>Whether to send notifications on failure.</description>
2005-09-13 10:20:59 -04:00
</field>
<field>
<name>sendOnSuccess</name>
<version>4.0.0</version>
<defaultValue>true</defaultValue>
<type>boolean</type>
2006-03-09 21:41:32 -05:00
<description>Whether to send notifications on success.</description>
2005-09-13 10:20:59 -04:00
</field>
<field>
<name>sendOnWarning</name>
<version>4.0.0</version>
<defaultValue>true</defaultValue>
<type>boolean</type>
2006-03-09 21:41:32 -05:00
<description>Whether to send notifications on warning.</description>
2005-09-13 10:20:59 -04:00
</field>
2005-09-08 03:45:45 -04:00
<!-- TODO: Remove it after continuum alpha-3 release -->
<field>
<name>address</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
<b>Deprecated</b>. Where to send the notification to - eg email address.
]]></description>
2005-09-08 03:45:45 -04:00
</field>
2005-03-09 20:35:25 -05:00
<field>
<name>configuration</name>
2005-03-10 20:52:18 -05:00
<description>Extended configuration specific to this notifier goes here.</description>
2005-03-09 20:35:25 -05:00
<type>Properties</type>
<association xml.mapStyle="inline">
<type>String</type>
<multiplicity>*</multiplicity>
</association>
2004-06-27 03:03:31 -04:00
</field>
2004-04-29 18:39:05 -04:00
</fields>
</class>
2004-03-07 20:31:17 -05:00
<class>
<name>Contributor</name>
2005-03-10 20:52:18 -05:00
<description>
Description of a person who has contributed to the project, but who does
2005-07-18 07:57:29 -04:00
not have commit privileges. Usually, these contributions come in the
2005-03-10 20:52:18 -05:00
form of patches submitted.
</description>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>name</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[The full name of the contributor.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>email</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[The email address of the contributor.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>url</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[The URL for the homepage of the contributor.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2005-05-18 01:33:59 -04:00
<!-- TODO: should this just be a single Organization element -->
2004-03-07 20:31:17 -05:00
<field>
<name>organization</name>
2005-10-08 21:36:57 -04:00
<alias>organisation</alias>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[The organization to which the contributor belongs.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2005-05-18 01:33:59 -04:00
<field>
<name>organizationUrl</name>
2005-10-08 21:36:57 -04:00
<alias>organisationUrl</alias>
2005-05-18 01:33:59 -04:00
<version>3.0.0+</version>
<description><![CDATA[The URL of the organization.]]></description>
<type>String</type>
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>roles</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-03-08 16:53:16 -05:00
The roles the contributor plays in the project. Each role is
2005-04-08 22:07:15 -04:00
described by a <code>role</code> element, the body of which is a
2006-03-09 21:41:32 -05:00
role name. This can also be used to describe the contribution.
2004-12-17 08:15:30 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>String</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
2004-03-08 16:53:16 -05:00
<field>
<name>timezone</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-03-10 20:52:18 -05:00
The timezone the contributor is in. This is a number in the range -11 to 12.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-08 16:53:16 -05:00
<type>String</type>
</field>
2005-05-18 01:33:59 -04:00
<field>
<name>properties</name>
<version>3.0.0+</version>
<description><![CDATA[
Properties about the contributor, such as an instant messenger handle.
]]></description>
<type>Properties</type>
<association xml.mapStyle="inline">
<type>String</type>
<multiplicity>*</multiplicity>
</association>
</field>
2004-03-07 20:31:17 -05:00
</fields>
</class>
<class>
<name>Dependency</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-03-07 20:31:17 -05:00
<fields>
2004-09-19 00:12:46 -04:00
<field>
<name>id</name>
<version>3.0.0</version>
<required>true</required>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
<strong>Deprecated</strong>. Please use <code>groupId</code> and
2005-03-10 20:52:18 -05:00
<code>artifactId</code> together instead.
2004-12-17 08:15:30 -05:00
]]></description>
2004-09-19 00:12:46 -04:00
<type>String</type>
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>groupId</name>
2004-06-06 01:50:24 -04:00
<version>3.0.0+</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-04-17 00:22:52 -04:00
The project group that produced the dependency, e.g.
2006-03-09 21:41:32 -05:00
<code>org.apache.maven</code>.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>artifactId</name>
2004-06-06 01:50:24 -04:00
<version>3.0.0+</version>
2004-04-16 17:48:24 -04:00
<required>true</required>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-03-08 17:10:49 -05:00
The unique id for an artifact produced by the project group, e.g.
2006-03-09 21:41:32 -05:00
<code>maven-artifact</code>.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>version</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The version of the dependency, e.g. <code>3.2.1</code>. In Maven 2, this can also be
specified as a range of versions.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>url</name>
2005-02-01 21:23:12 -05:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-03-08 17:10:49 -05:00
This url will be provided to the user if the jar file cannot be downloaded
from the central repository.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2004-04-16 17:48:24 -04:00
<field>
<name>jar</name>
<version>3.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Literal name of the artifact in the repository. Used to override the calculated artifact name.
2005-03-10 20:52:18 -05:00
]]></description>
2004-04-16 17:48:24 -04:00
<type>String</type>
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>type</name>
2006-03-09 21:41:32 -05:00
<version>3.0.0</version>
<description><![CDATA[
The type of dependency. This defaults to <code>jar</code>. While it usually represents the extension on
the filename of the dependency, that is not always the case.
Some examples are <code>jar</code>, <code>war</code>, and <code>plugin</code>.
A dependency of type <code>plugin</code> is loaded as a Maven plugin and not added to the project
build classpath.
]]></description>
<type>String</type>
<defaultValue>jar</defaultValue>
</field>
<field>
<name>type</name>
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The type of dependency. This defaults to <code>jar</code>. 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 <code>jar</code>, <code>war</code>, <code>ejb-client</code> and <code>test-jar</code>.
New types can be defined by plugins that set
<code>extensions</code> to <code>true</code>, so this is not a complete list.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
<defaultValue>jar</defaultValue>
</field>
2005-07-27 10:17:41 -04:00
<field>
<name>classifier</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
2005-07-27 10:17:41 -04:00
The classifier of the dependency. This allows distinguishing two artifacts that belong to the same POM but
2006-03-09 21:41:32 -05:00
were built differently, and is appended to the filename after the version. For example,
<code>jdk14</code> and <code>jdk15</code>.
]]></description>
2005-07-27 10:17:41 -04:00
<type>String</type>
<required>false</required>
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>properties</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
Properties about the dependency. Various plugins allow you to
2006-03-09 21:41:32 -05:00
mark dependencies with properties. For example the war plugin looks for a
2005-03-10 20:52:18 -05:00
<code>war.bundle</code> property, and if found will include the
2006-03-09 21:41:32 -05:00
dependency in <code>WEB-INF/lib</code>.
2004-12-17 08:15:30 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<type>Properties</type>
2004-10-01 08:35:20 -04:00
<association xml.mapStyle="inline">
2004-09-26 09:29:06 -04:00
<type>String</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
2005-02-23 23:16:18 -05:00
<field>
2005-03-07 03:15:26 -05:00
<name>scope</name>
2005-02-23 23:16:18 -05:00
<version>4.0.0</version>
2005-06-02 22:24:03 -04:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The scope of the dependency - <code>compile</code>, <code>runtime</code>, <code>test</code>,
<code>system</code>, and <code>provided</code>. 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
<a href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html">the
dependency mechanism</a>.]]>
2005-03-10 20:52:18 -05:00
</description>
2005-02-23 23:16:18 -05:00
<type>String</type>
2005-08-27 11:44:48 -04:00
<!-- This default has to be enforced at the maven-artifact layer, to allow
| injection of defaults from <dependencyManagement/>.
2005-09-25 21:17:59 -04:00
| TODO: how can we document it?
2005-08-27 11:44:48 -04:00
|-->
<!-- defaultValue>compile</defaultValue -->
2005-02-23 23:16:18 -05:00
</field>
2005-08-31 03:39:01 -04:00
<field>
<name>systemPath</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
FOR SYSTEM SCOPE ONLY. Note that use of this property is <b>discouraged</b> and may be replaced in later
versions. This specifies the path on the filesystem for this dependency.
2006-01-20 14:25:38 -05:00
Requires an absolute path for the value, not relative.
Use a property that gives the machine specific absolute path,
2006-03-09 21:41:32 -05:00
e.g. <code>${java.home}</code>.
]]></description>
2005-08-31 03:39:01 -04:00
<type>String</type>
</field>
2005-06-07 10:22:38 -04:00
<field>
<name>exclusions</name>
<version>4.0.0</version>
<description>
Lists a set of artifacts that should be excluded from this dependency's artifact list when it comes to
calculating transitive dependencies.
</description>
<association>
<type>Exclusion</type>
<multiplicity>*</multiplicity>
</association>
</field>
2005-09-25 21:17:59 -04:00
<field>
<name>optional</name>
<version>4.0.0</version>
<description>
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.
</description>
<type>boolean</type>
<defaultValue>false</defaultValue>
</field>
2004-03-07 20:31:17 -05:00
</fields>
2004-04-17 00:22:52 -04:00
<codeSegments>
2004-09-21 06:57:57 -04:00
<codeSegment>
2005-08-12 17:55:00 -04:00
<version>3.0.0</version>
2005-03-17 17:53:12 -05:00
<code><![CDATA[
2004-09-21 06:57:57 -04:00
public String toString()
{
return groupId + "/" + type + "s:" + artifactId + "-" + version;
}
2005-03-17 17:53:12 -05:00
]]></code>
2004-09-21 06:57:57 -04:00
</codeSegment>
2005-08-12 17:55:00 -04:00
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
public String toString()
{
return "Dependency {groupId=" + groupId + ", artifactId=" + artifactId + ", version=" + version + ", type=" + type + "}";
}
]]></code>
</codeSegment>
2004-04-17 00:22:52 -04:00
<codeSegment>
2004-06-06 01:50:24 -04:00
<version>4.0.0</version>
2005-03-17 17:53:12 -05:00
<code><![CDATA[
2005-02-01 21:23:12 -05:00
public String getManagementKey()
{
2005-07-27 11:59:38 -04:00
return groupId + ":" + artifactId + ":" + type + (classifier != null ? ":" + classifier : "");
2005-02-01 21:23:12 -05:00
}
2005-03-17 17:53:12 -05:00
]]></code>
2004-04-17 00:22:52 -04:00
</codeSegment>
2004-09-18 21:30:53 -04:00
<codeSegment>
<version>3.0.0</version>
<code><![CDATA[
2004-09-21 09:48:47 -04:00
public String getKey()
{
return getId() + ":" + getType();
}
2004-09-18 21:30:53 -04:00
public String getArtifactDirectory()
{
return getGroupId();
}
public String getArtifact()
{
// If the jar name has been explicty set then use that. This
// is when the <jar/> element is explicity used in the POM.
if ( getJar() != null)
{
return getJar();
}
2005-08-23 10:36:09 -04:00
2005-09-13 07:41:52 -04:00
String artifact;
2005-08-23 10:36:09 -04:00
if ("ejb-client".equals(getType())) {
2005-09-13 07:41:52 -04:00
artifact = getArtifactId() + "-" + getVersion() + "-client." + getExtension();
2005-08-23 10:36:09 -04:00
} else {
2005-09-13 07:41:52 -04:00
artifact = getArtifactId() + "-" + getVersion() + "." + getExtension();
2005-08-23 10:36:09 -04:00
}
return artifact;
}
public String getTypeDirectory()
{
String path;
if (getType().equals("ejb-client")) {
path = "ejbs";
} else {
path = getType() + "s";
}
return path;
2004-09-18 21:30:53 -04:00
}
public String getExtension()
{
2005-08-23 10:36:09 -04:00
if ("ejb".equals(getType()) || "ejb-client".equals(getType()) || "plugin".equals(getType()) || "aspect".equals(getType()) || "uberjar".equals(getType())) return "jar";
2004-09-18 21:30:53 -04:00
return getType();
}
public boolean isAddedToClasspath()
{
2005-08-23 10:36:09 -04:00
return ("jar".equals(getType()) || "ejb".equals(getType()) || "ejb-client".equals(getType()) || "sar".equals(getType()));
2004-09-18 21:30:53 -04:00
}
public boolean isPlugin()
{
return ("plugin".equals(getType()));
}
public String getProperty( String property )
{
return getProperties().getProperty( property );
}
2004-09-19 02:12:37 -04:00
public boolean equals( Object o )
{
2004-09-21 06:57:57 -04:00
if ( this == o )
2004-09-19 02:12:37 -04:00
{
2004-09-21 06:57:57 -04:00
return true;
2004-09-19 02:12:37 -04:00
}
2004-09-21 06:57:57 -04:00
if ( !( o instanceof Dependency ) )
2004-09-19 02:12:37 -04:00
{
return false;
}
2004-09-21 06:57:57 -04:00
Dependency d = (Dependency) o;
return getId().equals( d.getId() );
2004-09-19 02:12:37 -04:00
}
public int hashCode()
{
2004-09-21 06:57:57 -04:00
return getId().hashCode();
2004-09-19 02:12:37 -04:00
}
2004-09-18 21:30:53 -04:00
]]></code>
</codeSegment>
2004-04-17 00:22:52 -04:00
</codeSegments>
2004-03-07 20:31:17 -05:00
</class>
<class>
<superClass>Contributor</superClass>
<name>Developer</name>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Information about one of the committers on this project.
2005-03-10 20:52:18 -05:00
]]></description>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>id</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The unique ID of the developer in the SCM.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
</fields>
</class>
2005-06-07 10:22:38 -04:00
<class>
<name>Exclusion</name>
<version>4.0.0</version>
<fields>
<field>
<name>artifactId</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The artifact ID of the project to exclude.]]></description>
2005-06-07 10:22:38 -04:00
<type>String</type>
2005-07-22 09:43:45 -04:00
<required>true</required>
2005-06-07 10:22:38 -04:00
</field>
<field>
<name>groupId</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The group ID of the project to exclude.]]></description>
2005-06-07 10:22:38 -04:00
<type>String</type>
2005-07-22 09:43:45 -04:00
<required>true</required>
2005-06-07 10:22:38 -04:00
</field>
</fields>
</class>
2004-04-15 10:31:27 -04:00
<class>
<name>IssueManagement</name>
2005-03-10 20:52:18 -05:00
<description>
2006-03-09 21:41:32 -05:00
Information about the issue tracking (or bug tracking) system used to manage this project.
2005-03-10 20:52:18 -05:00
</description>
2004-04-15 10:31:27 -04:00
<version>4.0.0</version>
<fields>
<field>
<name>system</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The name of the issue management system, e.g. Bugzilla]]></description>
2004-04-15 10:31:27 -04:00
<type>String</type>
</field>
<field>
<name>url</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[URL for the issue management system used by the project.]]></description>
2004-04-15 10:31:27 -04:00
<type>String</type>
</field>
</fields>
</class>
2004-06-19 14:55:16 -04:00
<class>
2004-06-22 15:25:54 -04:00
<name>DistributionManagement</name>
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-06-22 15:25:54 -04:00
This elements describes all that pertains to distribution for a project.
2006-03-09 21:41:32 -05:00
It is primarily used for deployment of artifacts and the site
2005-03-10 20:52:18 -05:00
produced by the build.
2004-12-17 08:15:30 -05:00
]]></description>
2004-06-22 15:25:54 -04:00
<fields>
<field>
2004-06-23 14:03:06 -04:00
<name>repository</name>
2004-06-22 15:25:54 -04:00
<version>4.0.0</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Information needed to deploy the artifacts generated by the project to a remote repository.
2005-03-10 20:52:18 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<association>
2005-10-04 04:43:36 -04:00
<type>DeploymentRepository</type>
2005-07-25 05:51:12 -04:00
</association>
</field>
<field>
<name>snapshotRepository</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
Where to deploy snapshots of artifacts to. If not given, it defaults to the <code>repository</code> element.
]]></description>
2005-07-25 05:51:12 -04:00
<association>
2005-10-04 04:43:36 -04:00
<type>DeploymentRepository</type>
2004-09-26 09:29:06 -04:00
</association>
2004-06-22 15:25:54 -04:00
</field>
<field>
2004-06-23 14:03:06 -04:00
<name>site</name>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Information needed for deploying the web site of the project.
2005-03-10 20:52:18 -05:00
]]></description>
2004-06-22 15:25:54 -04:00
<version>4.0.0</version>
2004-09-26 09:29:06 -04:00
<association>
<type>Site</type>
</association>
2004-06-22 15:25:54 -04:00
</field>
2005-05-11 00:29:44 -04:00
<field>
<name>downloadUrl</name>
<version>4.0.0+</version>
<description><![CDATA[
The URL of the project's download page. If not given users will be referred to the homepage given by
2006-03-09 21:41:32 -05:00
<code>url</code>. This is given to assist in locating artifacts that are not in the repository due to
licensing restrictions.
2005-05-11 00:29:44 -04:00
]]></description>
<type>String</type>
</field>
2005-07-21 20:31:44 -04:00
<field>
<name>relocation</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>
Relocation information of the artifact if it has been moved to a new group ID and/or artifact ID.
</description>
2005-07-21 20:31:44 -04:00
<association>
<type>Relocation</type>
</association>
</field>
2005-07-28 02:35:47 -04:00
<field>
<name>status</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
2005-07-28 02:35:47 -04:00
Gives the status of this artifact in the remote repository. This must not be set in your local
2006-03-09 21:41:32 -05:00
project, as it is updated by tools placing it in the reposiory. Valid values are: <code>none</code> (default),
<code>converted</code> (repository manager converted this from an Maven 1 POM), <code>partner</code>
(directly synced from a partner Maven 2 repository), <code>deployed</code> (was deployed from a Maven 2
instance), <code>verified</code> (has been hand verified as correct and final).
]]></description>
2005-07-28 02:35:47 -04:00
<required>false</required>
<type>String</type>
</field>
2004-06-22 15:25:54 -04:00
</fields>
</class>
<class>
2004-03-07 20:31:17 -05:00
<name>License</name>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
Describes the licenses for this project. This is used to generate
2006-03-09 21:41:32 -05:00
the license page of the project's web site, as well as being taken into consideration in other reporting and
validation. The licenses listed for the project are that of the project itself, and not of dependencies.
2005-03-10 20:52:18 -05:00
]]></description>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>name</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[The full legal name of the license.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>url</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[The official url for the license text.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>distribution</name>
2005-05-11 00:29:44 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-03-08 16:53:16 -05:00
The primary method by which this project may be distributed.
2004-04-17 00:22:52 -04:00
<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>
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>comments</name>
2005-03-10 20:52:18 -05:00
<description>
Addendum information pertaining to this license.
</description>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
</fields>
</class>
<class>
<name>MailingList</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-03-08 16:33:06 -05:00
This element describes all of the mailing lists associated with
2006-03-09 21:41:32 -05:00
a project. The auto-generated site references this information.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>name</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[The name of the mailing list.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>subscribe</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-03-08 16:28:26 -05:00
The email address or link that can be used to subscribe to the mailing list.
2004-04-17 00:22:52 -04:00
If this is an email address, a
<code>mailto:</code> link will automatically be created when
2004-03-08 16:28:26 -05:00
the documentation is created.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>unsubscribe</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-03-08 16:28:26 -05:00
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.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2004-09-02 08:34:19 -04:00
<field>
<name>post</name>
2005-05-18 01:33:59 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-09-02 08:34:19 -04:00
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.
2004-12-17 08:15:30 -05:00
]]></description>
2004-09-02 08:34:19 -04:00
<type>String</type>
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>archive</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
The link to a URL where you can browse the mailing list archive.
2005-03-10 20:52:18 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
2004-09-02 08:34:19 -04:00
</field>
<field>
2005-02-22 00:26:59 -05:00
<name>otherArchives</name>
2005-05-18 01:33:59 -04:00
<version>3.0.0+</version>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The link to alternate URLs where you can browse the list archive.
2005-03-10 20:52:18 -05:00
]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>String</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
</fields>
2004-03-15 14:05:39 -05:00
<comment>
We could probably have a specific element for a dev mailing list for
things like CI, and maybe even a specific element for the user and scm
mailing lists. Then leave the more lose structure for any other type
of mailing list.
</comment>
2004-03-07 20:31:17 -05:00
</class>
<class>
<name>Organization</name>
2006-03-09 21:41:32 -05:00
<description>Specifies the organization that produces this project.</description>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>name</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[The full name of the organization.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>url</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[The URL to the organization's home page.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>logo</name>
2005-07-22 12:02:11 -04:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
The URL to the organization's logo image. This can be an URL relative
2004-03-08 16:28:26 -05:00
to the base directory of the generated web site,
2005-03-10 20:52:18 -05:00
(e.g., <code>/images/org-logo.png</code>) or an absolute URL
(e.g., <code>http://my.corp/logo.png</code>). This value is used
2004-03-08 16:28:26 -05:00
when generating the project documentation.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
</fields>
</class>
<class>
<name>PackageGroup</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2006-03-09 21:41:32 -05:00
<description>A JavaDoc package group.</description>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>title</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The title to use for the package group.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>packages</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The packages in the group]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
</fields>
</class>
<class>
<name>PatternSet</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>includes</name>
2005-03-22 09:26:28 -05:00
<version>3.0.0+</version>
2006-03-09 22:48:38 -05:00
<description><![CDATA[A list of patterns to include, e.g. <code>**/*.xml</code>.]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>String</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
<field>
<name>excludes</name>
2005-03-22 09:26:28 -05:00
<version>3.0.0+</version>
2006-03-09 22:48:38 -05:00
<description><![CDATA[A list of patterns to exclude, e.g. <code>**/*.xml</code>]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>String</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
</fields>
</class>
2004-04-12 10:41:05 -04:00
<class>
<name>Parent</name>
2004-04-16 17:48:24 -04:00
<version>4.0.0</version>
2004-04-12 10:41:05 -04:00
<fields>
<field>
<name>artifactId</name>
2004-04-17 00:22:52 -04:00
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The artifact id of the parent project to inherit from.]]></description>
2005-07-22 09:43:45 -04:00
<required>true</required>
2004-04-12 10:41:05 -04:00
<type>String</type>
</field>
<field>
<name>groupId</name>
2004-04-17 00:22:52 -04:00
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The group id of the parent project to inherit from.]]></description>
2005-07-22 09:43:45 -04:00
<required>true</required>
2004-04-12 10:41:05 -04:00
<type>String</type>
</field>
<field>
<name>version</name>
2004-04-17 00:22:52 -04:00
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The version of the parent project to inherit.]]></description>
2004-04-12 10:41:05 -04:00
<type>String</type>
</field>
2005-07-26 15:45:45 -04:00
<field>
<name>relativePath</name>
<version>4.0.0</version>
2006-01-20 14:25:38 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The relative path of the parent <code>pom.xml</code> file within the check out.
The default value is <code>../pom.xml</code>.
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.
<code>relativePath</code> allows you to select a different location,
2006-01-20 14:25:38 -05:00
for example when your structure is flat, or deeper without an intermediate parent pom.
2006-03-09 21:41:32 -05:00
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.
2006-01-20 14:25:38 -05:00
This feature is only for enhancing the development in a local checkout of that project.
]]></description>
2005-07-26 15:45:45 -04:00
<type>String</type>
<defaultValue>../pom.xml</defaultValue>
</field>
2004-04-12 10:41:05 -04:00
</fields>
2005-09-13 07:41:52 -04:00
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
public String getId()
{
StringBuffer id = new StringBuffer();
id.append( getGroupId() );
id.append( ":" );
id.append( getArtifactId() );
id.append( ":" );
// id.append( getPackaging() );
id.append( ":" );
id.append( getVersion() );
return id.toString();
}
]]></code>
</codeSegment>
</codeSegments>
2004-04-12 10:41:05 -04:00
</class>
2004-04-16 17:48:24 -04:00
<class>
<name>Repository</name>
<version>3.0.0</version>
<fields>
<field>
<name>connection</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The source control management system URL
2005-04-08 22:07:15 -04:00
that describes the repository and how to connect to the
2006-03-09 21:41:32 -05:00
repository. For more information, see the
<a href="http://maven.apache.org/scm/scm-url-format.html">URL format</a>
and <a href="http://maven.apache.org/scm/scms-overview.html">list of supported SCMs</a>.
This connection is read-only.
2004-12-17 08:15:30 -05:00
]]></description>
2004-04-16 17:48:24 -04:00
<type>String</type>
</field>
<field>
<name>developerConnection</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Just like <code>connection</code>, but for developers, i.e. this scm connection
2004-04-16 17:48:24 -04:00
will not be read only.
2004-12-17 08:15:30 -05:00
]]></description>
2004-04-16 17:48:24 -04:00
<type>String</type>
</field>
<field>
<name>url</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0</version>
2006-03-09 21:41:32 -05:00
<description>
<![CDATA[The URL to the project's browsable SCM repository, such as ViewVC or Fisheye.]]></description>
2004-04-16 17:48:24 -04:00
<type>String</type>
</field>
</fields>
</class>
2004-03-07 20:31:17 -05:00
<class>
2004-04-12 23:19:09 -04:00
<name>Scm</name>
2004-04-16 17:48:24 -04:00
<version>4.0.0</version>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>connection</name>
2004-04-17 00:22:52 -04:00
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The source control management system URL
that describes the repository and how to connect to the
repository. For more information, see the
<a href="http://maven.apache.org/scm/scm-url-format.html">URL format</a>
and <a href="http://maven.apache.org/scm/scms-overview.html">list of supported SCMs</a>.
This connection is read-only.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>developerConnection</name>
2004-04-17 00:22:52 -04:00
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Just like <code>connection</code>, but for developers, i.e. this scm connection
2004-03-08 17:06:29 -05:00
will not be read only.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2005-05-24 19:24:30 -04:00
<field>
<name>tag</name>
<version>4.0.0</version>
<description><![CDATA[
The tag of current code. By default, it's set to HEAD during development.
]]></description>
<type>String</type>
<defaultValue>HEAD</defaultValue>
</field>
2004-03-07 20:31:17 -05:00
<field>
<name>url</name>
2004-04-17 00:22:52 -04:00
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>
<![CDATA[The URL to the project's browsable SCM repository, such as ViewVC or Fisheye.]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
</fields>
</class>
<class>
2005-02-23 00:55:52 -05:00
<name>FileSet</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0+</version>
2004-03-07 20:31:17 -05:00
<superClass>PatternSet</superClass>
<fields>
<field>
<name>directory</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Describe the directory where the resources are stored.
The path is relative to the POM.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
2005-02-23 00:55:52 -05:00
</fields>
</class>
<class>
<name>Resource</name>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
This element describes all of the classpath resources associated with a project or
unit tests.
2005-03-10 20:52:18 -05:00
]]></description>
2005-02-23 00:55:52 -05:00
<version>3.0.0+</version>
<superClass>FileSet</superClass>
<fields>
2004-03-07 20:31:17 -05:00
<field>
<name>targetPath</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0+</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
Describe the resource target path. For example, if you want that
2006-03-09 21:41:32 -05:00
resource to appear in a specific package
2005-03-10 20:52:18 -05:00
(<code>org.apache.maven.messages</code>), you must specify this
2006-03-09 21:41:32 -05:00
element with this value: <code>org/apache/maven/messages</code>.
This is not required if you simply put the resources in that directory structure at the source, however.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>filtering</name>
2005-08-28 03:18:35 -04:00
<version>3.0.0+</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
Whether resources are filtered to replace tokens with parameterised values or not.
The values are taken from the <code>properties</code> element and from the properties in the files listed
in the <code>filters</code> element.
]]></description>
2004-09-26 09:29:06 -04:00
<type>boolean</type>
2004-03-10 15:46:31 -05:00
<defaultValue>false</defaultValue>
2004-03-07 20:31:17 -05:00
</field>
</fields>
</class>
<class>
<name>SourceModification</name>
2005-03-10 20:52:18 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
This element describes all of the source modifications associated with a
project. These modifications are used
2005-03-10 20:52:18 -05:00
to exclude or include various source depending on the environment
the build is running in.
]]></description>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2005-02-23 00:55:52 -05:00
<superClass>FileSet</superClass>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>className</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
If the class with this name can <strong>not</strong> be
2005-03-10 20:52:18 -05:00
loaded, then the includes and excludes specified below
2006-03-09 21:41:32 -05:00
will be applied to the contents of the <code>sourceDirectory</code>.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>property</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
If the property with this name is <strong>not</strong> set,
then the includes and excludes specified below
will be applied to the contents of the <code>sourceDirectory</code>.
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
</fields>
</class>
<class>
<name>UnitTest</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2004-03-07 20:31:17 -05:00
<superClass>PatternSet</superClass>
<fields>
<field>
<name>resources</name>
2005-03-09 20:35:25 -05:00
<version>3.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The classpath resources to use when executing the unit tests.]]></description>
2004-09-26 09:29:06 -04:00
<association>
<type>Resource</type>
<multiplicity>*</multiplicity>
</association>
2004-03-07 20:31:17 -05:00
</field>
</fields>
</class>
<class>
<name>Version</name>
2004-04-16 17:48:24 -04:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2005-04-08 22:07:15 -04:00
This element describes each of the previous versions of the
2005-03-10 20:52:18 -05:00
project. Each version is described by a <code>version</code>
2004-03-08 16:33:06 -05:00
element
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<fields>
<field>
<name>name</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2004-03-08 16:22:40 -05:00
The external version number under which this release was distributed. Examples include:
2004-04-17 00:22:52 -04:00
<code>1.0</code>,
<code>1.1-alpha1</code>,
<code>1.2-beta</code>,
<code>1.3.2</code> etc.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>tag</name>
2004-04-17 00:22:52 -04:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The name given in the SCM (e.g. CVS) used by the project for the source
2004-03-08 16:22:40 -05:00
code associated with this version of the project.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
<field>
<name>id</name>
2004-04-17 11:13:31 -04:00
<version>3.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
A unique identifier for a version. This is usually identical to the name.
2004-04-17 00:22:52 -04:00
</a> builds.
2004-12-17 08:15:30 -05:00
]]></description>
2004-03-07 20:31:17 -05:00
<type>String</type>
</field>
</fields>
2005-02-02 04:00:54 -05:00
<codeSegments>
<codeSegment>
<version>3.0.0</version>
2005-03-17 17:53:12 -05:00
<code><![CDATA[
2005-02-02 04:00:54 -05:00
public String toString()
{
return getId();
}
2005-03-17 17:53:12 -05:00
]]></code>
2005-02-02 04:00:54 -05:00
</codeSegment>
</codeSegments>
2004-03-07 20:31:17 -05:00
</class>
2004-06-07 14:16:53 -04:00
<class>
2005-07-25 05:51:12 -04:00
<name>RepositoryBase</name>
2004-06-07 14:16:53 -04:00
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
A repository contains the information needed
for establishing connections with remote repoistory.
2004-12-17 08:15:30 -05:00
]]></description>
2004-06-07 14:16:53 -04:00
<fields>
<field>
<name>id</name>
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
A unique identifier for a repository. This is used to match the repository to configuration in
the <code>settings.xml</code> file, for example.
2004-12-17 08:15:30 -05:00
]]></description>
2004-06-07 14:16:53 -04:00
<type>String</type>
</field>
<field>
<name>name</name>
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Human readable name of the repository.
2004-12-17 08:15:30 -05:00
]]></description>
2004-06-07 14:16:53 -04:00
<type>String</type>
</field>
<field>
<name>url</name>
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The url of the repository, in the form <code>protocol://hostname/path</code>.
2004-12-17 08:15:30 -05:00
]]></description>
2004-06-07 14:16:53 -04:00
<type>String</type>
</field>
2005-04-05 21:28:29 -04:00
<field>
<name>layout</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
The type of layout this repository uses for locating and storing artifacts - can be <code>legacy</code> or
<code>default</code>.
]]></description>
2005-04-05 21:28:29 -04:00
<type>String</type>
<defaultValue>default</defaultValue>
</field>
2004-06-07 14:16:53 -04:00
</fields>
<codeSegments>
<codeSegment>
<version>4.0.0</version>
2005-03-17 17:53:12 -05:00
<code><![CDATA[
2004-06-07 14:16:53 -04:00
public boolean equals( Object obj )
{
2005-07-25 05:51:12 -04:00
RepositoryBase other = (RepositoryBase) obj;
2004-06-07 14:16:53 -04:00
boolean retValue = false;
if ( id != null )
{
retValue = id.equals( other.id );
}
return retValue;
}
2005-03-17 17:53:12 -05:00
]]></code>
2004-06-07 14:16:53 -04:00
</codeSegment>
</codeSegments>
</class>
2005-07-25 05:51:12 -04:00
<class>
<name>Repository</name>
<superClass>RepositoryBase</superClass>
<version>4.0.0</version>
<description>
2006-03-09 21:41:32 -05:00
A repository contains the information needed for establishing connections with remote repoistory.
2005-07-25 05:51:12 -04:00
</description>
<fields>
<field>
<name>releases</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>How to handle downloading of releases from this repository.</description>
2005-07-25 05:51:12 -04:00
<association>
<type>RepositoryPolicy</type>
</association>
</field>
<field>
<name>snapshots</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>How to handle downloading of snapshots from this repository.</description>
2005-07-25 05:51:12 -04:00
<association>
<type>RepositoryPolicy</type>
</association>
</field>
</fields>
2006-03-09 21:41:32 -05:00
<!-- TODO:prevent modello generation of an incorrect equals method. Could be avoided by using <identity/> tags to mark ID as the only identity field -->
2005-10-04 04:43:36 -04:00
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
public boolean equals( Object obj )
{
return super.equals( obj );
}
]]></code>
</codeSegment>
</codeSegments>
</class>
<class>
<name>DeploymentRepository</name>
<superClass>RepositoryBase</superClass>
<version>4.0.0</version>
<description>
2006-03-09 21:41:32 -05:00
Repository contains the information needed for deploying to the remote repoistory.
2005-10-04 04:43:36 -04:00
</description>
<fields>
<field>
<name>uniqueVersion</name>
2006-03-09 21:41:32 -05:00
<description>Whether to assign snapshots a unique version comprised of the timestamp and build number, or to
use the same version each time</description>
2005-10-04 04:43:36 -04:00
<type>boolean</type>
<defaultValue>true</defaultValue>
<version>4.0.0</version>
</field>
</fields>
2006-03-09 21:41:32 -05:00
<!-- TODO:prevent modello generation of an incorrect equals method. Could be avoided by using <identity/> tags to mark ID as the only identity field -->
2005-07-25 05:51:12 -04:00
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
public boolean equals( Object obj )
{
return super.equals( obj );
}
]]></code>
</codeSegment>
</codeSegments>
</class>
<class>
<name>RepositoryPolicy</name>
<version>4.0.0</version>
<description>Download policy</description>
<fields>
<field>
<name>enabled</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>Whether to use this repository for downloading this type of artifact.</description>
2005-07-25 05:51:12 -04:00
<type>boolean</type>
<defaultValue>true</defaultValue>
</field>
<field>
<name>updatePolicy</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
The frequency for downloading updates - can be
<code>always,</code>
<code>daily</code>
(default),
<code>interval:XXX</code>
(in minutes) or
<code>never</code>
(only if it doesn't exist locally).
]]></description>
2005-07-25 05:51:12 -04:00
<type>String</type>
</field>
<field>
<name>checksumPolicy</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
What to do when verification of an artifact checksum fails. Valid values are
<code>ignore</code>
,
<code>fail</code>
or
<code>warn</code>
(the default).
]]></description>
2005-07-25 05:51:12 -04:00
<type>String</type>
</field>
</fields>
</class>
2005-06-18 09:01:26 -04:00
<!--@todo find better solution for management of site deployments -->
2004-06-23 14:03:06 -04:00
<class>
<name>Site</name>
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Contains the information needed for deploying websites.
2004-12-17 08:15:30 -05:00
]]></description>
2004-06-23 14:03:06 -04:00
<fields>
<field>
<name>id</name>
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
A unique identifier for a deployment locataion. This is used to match the site to configuration in
the <code>settings.xml</code> file, for example.
2004-12-17 08:15:30 -05:00
]]></description>
2004-06-23 14:03:06 -04:00
<type>String</type>
</field>
<field>
<name>name</name>
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Human readable name of the deployment location.
2004-12-17 08:15:30 -05:00
]]></description>
2004-06-23 14:03:06 -04:00
<type>String</type>
</field>
<field>
<name>url</name>
<version>4.0.0</version>
2004-12-17 08:15:30 -05:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The url of the location where website is deployed, in the form <code>protocol://hostname/path</code>.
2004-12-17 08:15:30 -05:00
]]></description>
2004-06-23 14:03:06 -04:00
<type>String</type>
</field>
</fields>
</class>
2004-10-01 10:36:23 -04:00
<class>
2005-06-18 09:01:26 -04:00
<name>ConfigurationContainer</name>
2004-10-01 10:36:23 -04:00
<version>4.0.0</version>
<fields>
2005-05-26 23:27:55 -04:00
<field>
<name>inherited</name>
<version>4.0.0</version>
2005-07-18 07:57:29 -04:00
<description>
2006-03-09 21:41:32 -05:00
<![CDATA[Whether any configuration should be propagated to child POMs.]]></description>
2005-05-26 23:27:55 -04:00
<type>String</type>
</field>
2004-10-01 10:36:23 -04:00
<field>
<name>configuration</name>
2005-03-22 05:46:55 -05:00
<type>DOM</type>
2004-10-01 10:36:23 -04:00
</field>
2004-10-03 15:25:15 -04:00
</fields>
2005-05-03 21:20:49 -04:00
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
2005-05-27 19:05:09 -04:00
private boolean inheritanceApplied = true;
2005-05-27 17:47:12 -04:00
2005-05-27 19:05:09 -04:00
public void unsetInheritanceApplied()
2005-05-27 17:47:12 -04:00
{
2005-06-12 22:47:57 -04:00
this.inheritanceApplied = false;
2005-05-27 17:47:12 -04:00
}
public boolean isInheritanceApplied()
{
return inheritanceApplied;
}
2005-06-12 22:47:57 -04:00
]]></code>
</codeSegment>
</codeSegments>
</class>
<class>
<name>Plugin</name>
<version>4.0.0</version>
2005-06-18 09:01:26 -04:00
<superClass>ConfigurationContainer</superClass>
2005-06-12 22:47:57 -04:00
<fields>
<field>
<name>groupId</name>
2006-03-09 21:41:32 -05:00
<description>The group ID of the plugin in the repository.</description>
2005-06-12 22:47:57 -04:00
<version>4.0.0</version>
<type>String</type>
2005-07-22 09:43:45 -04:00
<required>true</required>
2005-06-12 22:47:57 -04:00
<defaultValue>org.apache.maven.plugins</defaultValue>
</field>
<field>
<name>artifactId</name>
2006-03-09 21:41:32 -05:00
<description>The artifact ID of the plugin in the repository.</description>
2005-06-12 22:47:57 -04:00
<version>4.0.0</version>
<type>String</type>
<required>true</required>
</field>
<field>
<name>version</name>
<version>4.0.0</version>
<required>true</required>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The version (or valid range of verisons) of the plugin to be used.]]></description>
2005-06-12 22:47:57 -04:00
<type>String</type>
</field>
2005-07-26 05:04:32 -04:00
<field>
<name>extensions</name>
<version>4.0.0</version>
<type>boolean</type>
2005-07-27 02:14:20 -04:00
<description>Whether to load Maven extensions (such as packaging and type handlers) from this
2006-03-09 21:41:32 -05:00
plugin. For performance reasons, this should only be enabled when necessary.</description>
2005-07-26 05:04:32 -04:00
<defaultValue>false</defaultValue>
</field>
2005-06-12 22:47:57 -04:00
<field>
<name>executions</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>Multiple specifications of a set of goals to execute during the build lifecycle, each having
(possibly) different
configuration.</description>
2005-06-12 22:47:57 -04:00
<association>
<type>PluginExecution</type>
<multiplicity>*</multiplicity>
</association>
</field>
2005-10-04 03:15:36 -04:00
<field>
<name>dependencies</name>
2006-03-09 21:41:32 -05:00
<description>Additional dependencies that this project needs to introduce to the plugin's
classloader.</description>
2005-10-04 03:15:36 -04:00
<version>4.0.0</version>
<association>
<type>Dependency</type>
<multiplicity>*</multiplicity>
</association>
</field>
2005-10-03 09:24:39 -04:00
<field>
<name>goals</name>
<version>4.0.0</version>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
<b>Deprecated</b>. Unused by Maven.
2005-10-03 09:24:39 -04:00
]]></description>
<type>DOM</type>
</field>
2005-06-12 22:47:57 -04:00
</fields>
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
2005-09-13 07:41:52 -04:00
private java.util.Map executionMap = null;
2005-06-12 22:47:57 -04:00
public void flushExecutionMap()
{
this.executionMap = null;
}
2005-05-04 13:34:52 -04:00
2005-09-13 07:41:52 -04:00
public java.util.Map getExecutionsAsMap()
2005-06-12 22:47:57 -04:00
{
if ( executionMap == null )
{
2005-09-13 07:41:52 -04:00
executionMap = new java.util.HashMap();
2005-06-12 22:47:57 -04:00
if ( getExecutions() != null )
{
2005-09-13 07:41:52 -04:00
for ( java.util.Iterator i = getExecutions().iterator(); i.hasNext(); )
2005-06-12 22:47:57 -04:00
{
PluginExecution exec = (PluginExecution) i.next();
2005-06-20 23:57:17 -04:00
if ( executionMap.containsKey( exec.getId() ) )
{
throw new IllegalStateException( "You cannot have two plugin executions with the same (or missing) <id/> elements.\nOffending execution\n\nId: \'" + exec.getId() + "\'\nPlugin:\'" + getKey() + "\'\n\n" );
}
2005-06-12 22:47:57 -04:00
executionMap.put( exec.getId(), exec );
}
}
}
return executionMap;
}
2005-05-04 13:34:52 -04:00
public String getKey()
{
return constructKey( groupId, artifactId );
}
public static String constructKey( String groupId, String artifactId )
{
return groupId + ":" + artifactId;
}
2006-07-26 19:37:55 -04:00
public boolean equals( Object other )
{
if ( other instanceof Plugin )
{
Plugin otherPlugin = (Plugin) other;
return getKey().equals( otherPlugin.getKey() );
}
return false;
}
public int hashCode()
{
return getKey().hashCode();
}
public String toString()
{
return "Plugin [" + getKey() + "]";
}
2005-05-03 21:20:49 -04:00
]]></code>
</codeSegment>
</codeSegments>
2004-10-03 15:25:15 -04:00
</class>
2005-06-12 22:47:57 -04:00
<class>
<name>PluginExecution</name>
<version>4.0.0</version>
2005-06-18 09:01:26 -04:00
<superClass>ConfigurationContainer</superClass>
2005-06-12 22:47:57 -04:00
<fields>
<field>
<name>id</name>
<version>4.0.0</version>
<required>true</required>
<type>String</type>
2005-06-20 23:57:17 -04:00
<defaultValue>default</defaultValue>
2006-03-09 21:41:32 -05:00
<description>The identifier of this execution for labelling the goals during the build, and for matching
exections to merge during inheritance.</description>
2005-06-12 22:47:57 -04:00
</field>
2005-06-18 09:01:26 -04:00
<field>
<name>phase</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description>The build lifecycle phase to bind the goals in this execution to. If omitted, the goals will
be bound to the default specified in their metadata.</description>
2005-06-18 09:01:26 -04:00
</field>
<field>
<name>goals</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>The goals to execute with the given configuration.</description>
2005-06-18 09:01:26 -04:00
<association>
<type>String</type>
<multiplicity>*</multiplicity>
</association>
</field>
2005-06-12 22:47:57 -04:00
</fields>
2005-10-03 17:38:35 -04:00
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
public static final String DEFAULT_EXECUTION_ID = "default";
]]></code>
</codeSegment>
</codeSegments>
2005-06-12 22:47:57 -04:00
</class>
2004-09-02 08:34:19 -04:00
<class>
2005-02-22 23:12:09 -05:00
<name>DependencyManagement</name>
2004-09-02 08:34:19 -04:00
<version>4.0.0</version>
2005-02-22 23:12:09 -05:00
<description>
Section for management of default dependency information for use in a group of POMs.
</description>
2004-09-02 08:34:19 -04:00
<fields>
<field>
2005-02-22 23:12:09 -05:00
<name>dependencies</name>
2004-09-02 08:34:19 -04:00
<version>4.0.0</version>
2005-02-22 23:12:09 -05:00
<description>
2006-03-09 21:41:32 -05:00
The dependencies specified here are not used until they
2005-02-22 23:12:09 -05:00
are referenced in a POM within the group. This allows the
specification of a "standard" version for a particular
dependency.
</description>
<association>
<type>Dependency</type>
<multiplicity>*</multiplicity>
</association>
2004-09-02 08:34:19 -04:00
</field>
</fields>
</class>
2005-03-07 14:03:19 -05:00
<class>
<name>PluginManagement</name>
<version>4.0.0</version>
2005-05-04 13:34:52 -04:00
<superClass>PluginContainer</superClass>
2005-03-07 14:03:19 -05:00
<description>
Section for management of default plugin information for use in a group of POMs.
</description>
</class>
2005-03-09 20:35:25 -05:00
<class>
2005-06-17 20:43:00 -04:00
<name>Reporting</name>
2005-03-09 20:35:25 -05:00
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>Section for management of reports and their configuration.</description>
2005-03-09 20:35:25 -05:00
<fields>
2005-09-21 04:40:42 -04:00
<field>
<name>excludeDefaults</name>
<version>4.0.0</version>
<type>boolean</type>
2006-03-09 21:41:32 -05:00
<description>If true, then the default reports are not included in the site generation. This includes the
reports in the "Project Info" menu.</description>
2005-09-21 04:40:42 -04:00
<defaultValue>false</defaultValue>
</field>
2005-03-09 20:35:25 -05:00
<field>
<name>outputDirectory</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description><![CDATA[
Where to store all of the generated reports. The default is
<code>${project.build.directory}/site</code>
.
]]></description>
<!-- TODO: why isn't default set here? -->
2005-03-09 20:35:25 -05:00
</field>
<field>
2005-06-18 00:23:20 -04:00
<name>plugins</name>
2005-03-09 20:35:25 -05:00
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>The reporting plugins to use and their configuration.</description>
2005-03-09 20:35:25 -05:00
<association>
2005-06-18 00:23:20 -04:00
<type>ReportPlugin</type>
2005-03-09 20:35:25 -05:00
<multiplicity>*</multiplicity>
</association>
</field>
</fields>
2005-06-17 20:43:00 -04:00
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
2005-09-13 07:41:52 -04:00
java.util.Map reportPluginMap;
2005-10-04 03:15:36 -04:00
2005-06-18 00:23:20 -04:00
public void flushReportPluginMap()
2005-06-17 20:43:00 -04:00
{
2005-06-18 00:23:20 -04:00
this.reportPluginMap = null;
2005-06-17 20:43:00 -04:00
}
2005-09-13 07:41:52 -04:00
public java.util.Map getReportPluginsAsMap()
2005-06-17 20:43:00 -04:00
{
2005-06-18 00:23:20 -04:00
if ( reportPluginMap == null )
2005-06-17 20:43:00 -04:00
{
2005-09-13 07:41:52 -04:00
reportPluginMap = new java.util.HashMap();
2005-06-18 00:23:20 -04:00
if ( getPlugins() != null )
2005-06-17 20:43:00 -04:00
{
2005-09-13 07:41:52 -04:00
for ( java.util.Iterator it = getPlugins().iterator(); it.hasNext(); )
2005-06-17 20:43:00 -04:00
{
2005-06-18 00:23:20 -04:00
ReportPlugin reportPlugin = (ReportPlugin) it.next();
reportPluginMap.put( reportPlugin.getKey(), reportPlugin );
2005-06-17 20:43:00 -04:00
}
}
}
2005-06-18 00:23:20 -04:00
return reportPluginMap;
2005-06-17 20:43:00 -04:00
}
]]></code>
</codeSegment>
</codeSegments>
2005-03-09 20:35:25 -05:00
</class>
2005-05-31 12:24:34 -04:00
<!-- Profile support -->
<class>
<name>Profile</name>
2005-06-01 23:01:16 -04:00
<superClass>ModelBase</superClass>
2005-05-31 12:24:34 -04:00
<version>4.0.0</version>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Modifications to the build process which is activated based on environmental parameters or command line arguments.
2005-05-31 12:24:34 -04:00
]]></description>
<fields>
<field>
<name>id</name>
<required>true</required>
2005-06-01 23:01:16 -04:00
<version>4.0.0</version>
2005-05-31 12:24:34 -04:00
<type>String</type>
2006-03-09 21:41:32 -05:00
<description>The identifier of this build profile. This used both for command line activation, and identifies
identical profiles to merge with during inheritance.</description>
2005-05-31 12:24:34 -04:00
</field>
<field>
<name>activation</name>
2005-06-01 23:01:16 -04:00
<version>4.0.0</version>
2005-07-25 05:51:12 -04:00
<description><![CDATA[The conditional logic which will automatically
2005-05-31 12:24:34 -04:00
trigger the inclusion of this profile.]]></description>
<association>
<type>Activation</type>
</association>
</field>
2005-06-01 23:29:34 -04:00
<field xml.tagName="build">
<name>build</name>
<version>4.0.0</version>
<required>true</required>
<description><![CDATA[Information required to build the project.]]></description>
<association>
<type>BuildBase</type>
</association>
</field>
2005-05-31 12:24:34 -04:00
</fields>
<codeSegments>
<codeSegment>
2005-06-01 23:01:16 -04:00
<version>4.0.0</version>
2005-05-31 12:24:34 -04:00
<code><![CDATA[
// We don't want this to be parseable...it's sort of 'hidden'
2005-06-08 13:54:11 -04:00
// default source for this profile is in the pom itself.
private String source = "pom";
2005-10-04 03:15:36 -04:00
2005-06-08 13:54:11 -04:00
public void setSource( String source )
{
this.source = source;
}
2005-10-04 03:15:36 -04:00
2005-06-08 13:54:11 -04:00
public String getSource()
{
return source;
}
2005-10-04 03:15:36 -04:00
2005-06-09 11:53:31 -04:00
public String toString()
{
return "Profile {id: " + getId() + ", source: " + getSource() + "}";
}
2005-05-31 12:24:34 -04:00
]]></code>
</codeSegment>
</codeSegments>
</class>
2005-09-21 04:40:42 -04:00
<class>
2005-05-31 12:24:34 -04:00
<name>Activation</name>
2005-06-01 23:01:16 -04:00
<version>4.0.0</version>
2005-05-31 12:24:34 -04:00
<description><![CDATA[
2005-10-04 03:15:36 -04:00
The conditions within the build runtime environment which will trigger
2006-03-09 21:41:32 -05:00
the automatic inclusion of the build profile.
2005-05-31 12:24:34 -04:00
]]></description>
<fields>
2005-09-12 23:23:16 -04:00
<field>
<name>activeByDefault</name>
<version>4.0.0</version>
<type>boolean</type>
2006-03-09 21:41:32 -05:00
<description>Flag specifying whether this profile is active by default.</description>
2005-09-12 23:23:16 -04:00
</field>
2005-05-31 12:24:34 -04:00
<field>
<name>jdk</name>
2005-06-01 23:01:16 -04:00
<version>4.0.0</version>
2005-05-31 12:24:34 -04:00
<type>String</type>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Specifies that this profile will be activated when a matching JDK is detected. For example, <code>1.4</code>
only activates on JDKs versioned 1.4, while <code>!1.4</code> matches any JDK that is not version 1.4.
2005-05-31 12:24:34 -04:00
]]></description>
</field>
2005-10-03 21:07:36 -04:00
<field>
<name>os</name>
<version>4.0.0</version>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Specifies that this profile will be activated when matching operating system attributes are detected.
2005-10-03 21:07:36 -04:00
]]></description>
<association>
<type>ActivationOS</type>
</association>
</field>
2005-05-31 12:24:34 -04:00
<field>
<name>property</name>
2005-06-01 23:01:16 -04:00
<version>4.0.0</version>
2005-05-31 12:24:34 -04:00
<description><![CDATA[
2006-03-09 21:41:32 -05:00
Specifies that this profile will be activated when this system property is specified.
2005-05-31 12:24:34 -04:00
]]></description>
2005-06-07 18:36:44 -04:00
<association>
<type>ActivationProperty</type>
</association>
</field>
2005-09-03 02:59:07 -04:00
<field>
<name>file</name>
<version>4.0.0</version>
<description><![CDATA[
Specifies that this profile will be activated based on existence of a file.
]]></description>
<association>
2005-09-21 04:40:42 -04:00
<type>ActivationFile</type>
2005-09-03 02:59:07 -04:00
</association>
</field>
2005-06-07 18:36:44 -04:00
</fields>
</class>
<class>
<name>ActivationProperty</name>
<version>4.0.0</version>
<description><![CDATA[
2005-10-04 03:15:36 -04:00
This is the property specification used to activate a profile. If the value field is empty,
2005-06-07 18:36:44 -04:00
then the existence of the named property will activate the profile, otherwise it does a case-sensitive
match against the property value as well.
]]></description>
<fields>
<field>
<name>name</name>
<version>4.0.0</version>
<type>String</type>
<required>true</required>
2006-03-09 21:41:32 -05:00
<description>The name of the property to be used to activate a profile.</description>
2005-06-07 18:36:44 -04:00
</field>
<field>
<name>value</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description>The value of the property required to activate a profile.</description>
2005-05-31 12:24:34 -04:00
</field>
</fields>
</class>
2005-10-03 21:07:36 -04:00
<class>
<name>ActivationOS</name>
<version>4.0.0</version>
<description><![CDATA[
This is an activator which will detect an operating system's attributes in order to activate
its profile.
]]></description>
<fields>
<field>
<name>name</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The name of the operating system to be used to activate the profile. This must be an exact match
of the <code>${os.name}</code> Java property, such as <code>Windows XP</code>.]]></description>
2005-10-03 21:07:36 -04:00
</field>
<field>
<name>family</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description>
<![CDATA[The general family of the OS to be used to activate the profile, such as <code>windows</code> or <code>unix</code>.]]></description>
2005-10-03 21:07:36 -04:00
</field>
<field>
<name>arch</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description>The architecture of the operating system to be used to activate the profile.</description>
2005-10-03 21:07:36 -04:00
</field>
<field>
<name>version</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description>The version of the operating system to be used to activate the profile.</description>
2005-10-03 21:07:36 -04:00
</field>
</fields>
</class>
2005-09-03 02:59:07 -04:00
<class>
<name>ActivationFile</name>
<version>4.0.0</version>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
This is the file specification used to activate the profile. The missing value will be the location
of a file that needs to exist, and if it doesn't the profile will be activated. On the other hand exists will test
for the existence of the file and if it is there the profile will be activated.
2005-09-03 02:59:07 -04:00
]]></description>
<fields>
<field>
<name>missing</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description>The name of the file that must be missing to activate the profile.</description>
2005-09-03 02:59:07 -04:00
</field>
<field>
<name>exists</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description>The name of the file that must exist to activate the profile.</description>
2005-09-03 02:59:07 -04:00
</field>
</fields>
</class>
2005-05-31 12:24:34 -04:00
<!-- /BuildProfile support -->
2005-06-18 00:23:20 -04:00
<class xml.tagName="plugin">
<name>ReportPlugin</name>
2005-06-17 20:43:00 -04:00
<version>4.0.0</version>
<fields>
<field>
<name>groupId</name>
<version>4.0.0</version>
<type>String</type>
2005-07-22 09:43:45 -04:00
<required>true</required>
2005-06-17 20:43:00 -04:00
<defaultValue>org.apache.maven.plugins</defaultValue>
2006-03-09 21:41:32 -05:00
<description>The group ID of the reporting plugin in the repository.</description>
2005-06-17 20:43:00 -04:00
</field>
<field>
<name>artifactId</name>
<version>4.0.0</version>
<type>String</type>
<required>true</required>
2006-03-09 21:41:32 -05:00
<description>The artifact ID of the reporting plugin in the repository.</description>
2005-06-17 20:43:00 -04:00
</field>
<field>
<name>version</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[The version of the reporting plugin to be used.]]></description>
2005-06-17 20:43:00 -04:00
<type>String</type>
</field>
<field>
<name>inherited</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description>Whether the configuration in this plugin should be made available to projects that
inherit from this one.</description>
2005-06-17 20:43:00 -04:00
</field>
<field>
<name>configuration</name>
<version>4.0.0</version>
<type>DOM</type>
2006-03-09 21:41:32 -05:00
<description>The configuration of the reporting plugin.</description>
2005-06-17 20:43:00 -04:00
</field>
<field>
<name>reportSets</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description><![CDATA[Multiple specifications of a set of reports, each having (possibly) different
configuration. This is the reporting parallel to an <code>execution</code> in the build.]]></description>
2005-06-17 20:43:00 -04:00
<association>
<type>ReportSet</type>
<multiplicity>*</multiplicity>
</association>
</field>
</fields>
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
2005-09-13 07:41:52 -04:00
private java.util.Map reportSetMap = null;
2005-06-17 20:43:00 -04:00
public void flushReportSetMap()
{
this.reportSetMap = null;
}
2005-09-13 07:41:52 -04:00
public java.util.Map getReportSetsAsMap()
2005-06-17 20:43:00 -04:00
{
if ( reportSetMap == null )
{
2005-09-13 07:41:52 -04:00
reportSetMap = new java.util.HashMap();
2005-06-17 20:43:00 -04:00
if ( getReportSets() != null )
{
2005-09-13 07:41:52 -04:00
for ( java.util.Iterator i = getReportSets().iterator(); i.hasNext(); )
2005-06-17 20:43:00 -04:00
{
ReportSet reportSet = (ReportSet) i.next();
reportSetMap.put( reportSet.getId(), reportSet );
}
}
}
return reportSetMap;
}
public String getKey()
{
return constructKey( groupId, artifactId );
}
public static String constructKey( String groupId, String artifactId )
{
return groupId + ":" + artifactId;
}
private boolean inheritanceApplied = true;
public void unsetInheritanceApplied()
{
this.inheritanceApplied = false;
}
public boolean isInheritanceApplied()
{
return inheritanceApplied;
}
]]></code>
</codeSegment>
</codeSegments>
</class>
<class>
<name>ReportSet</name>
<version>4.0.0</version>
<description>Represents a set of reports and configuration to be used to generate them.</description>
<fields>
<field>
<name>id</name>
<type>String</type>
<required>true</required>
<description>The unique id for this report set, to be used during POM inheritance.</description>
2005-12-11 17:25:51 -05:00
<defaultValue>default</defaultValue>
2005-06-17 20:43:00 -04:00
</field>
<field>
<name>configuration</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>Configuration of the report to be used when generating this set.</description>
2005-06-17 20:43:00 -04:00
<type>DOM</type>
</field>
<field>
<name>inherited</name>
<version>4.0.0</version>
<type>String</type>
2006-03-09 21:41:32 -05:00
<description>
<![CDATA[Whether any configuration should be propagated to child POMs.]]></description>
2005-06-17 20:43:00 -04:00
</field>
<field>
<name>reports</name>
<version>4.0.0</version>
<required>true</required>
<description><![CDATA[
2006-03-09 21:41:32 -05:00
The list of reports from this plugin which should be generated from this set.
2005-06-17 20:43:00 -04:00
]]></description>
<association>
<type>String</type>
<multiplicity>*</multiplicity>
</association>
</field>
</fields>
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
private boolean inheritanceApplied = true;
public void unsetInheritanceApplied()
{
this.inheritanceApplied = false;
}
public boolean isInheritanceApplied()
{
return inheritanceApplied;
}
]]></code>
</codeSegment>
</codeSegments>
</class>
2005-07-18 07:57:29 -04:00
<class>
2005-09-15 20:23:26 -04:00
<name>Prerequisites</name>
2005-07-18 07:57:29 -04:00
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>Describes the prerequisites a project can have.</description>
2005-07-18 07:57:29 -04:00
<fields>
<field>
<name>maven</name>
<version>4.0.0</version>
<type>String</type>
2005-10-14 00:43:19 -04:00
<defaultValue>2.0</defaultValue>
2006-03-09 21:41:32 -05:00
<description>The minimum version of Maven required to build the project, or to use this plugin.</description>
2005-07-18 07:57:29 -04:00
<required>false</required>
</field>
</fields>
</class>
2005-07-21 20:31:44 -04:00
<class>
<name>Relocation</name>
<version>4.0.0</version>
<description>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.</description>
<fields>
<field>
<name>groupId</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>The group ID the artifact has moved to.</description>
2005-07-21 20:31:44 -04:00
<type>String</type>
</field>
<field>
<name>artifactId</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>The new artifact ID of the artifact.</description>
2005-07-21 20:31:44 -04:00
<type>String</type>
</field>
<field>
<name>version</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>The new version of the artifact.</description>
2005-07-21 20:31:44 -04:00
<type>String</type>
</field>
<field>
<name>message</name>
<version>4.0.0</version>
<description>An additional message to show the user about the move, such as the reason.</description>
<type>String</type>
</field>
</fields>
</class>
2005-07-27 02:14:20 -04:00
<class>
<name>Extension</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>Describes a build extension to utilise.</description>
2005-07-27 02:14:20 -04:00
<fields>
<field>
<name>groupId</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>The group ID of the extension's artifact.</description>
2005-07-27 02:14:20 -04:00
<required>true</required>
<type>String</type>
</field>
<field>
<name>artifactId</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>The artifact ID of the extension.</description>
2005-07-27 02:14:20 -04:00
<required>true</required>
<type>String</type>
</field>
<field>
<name>version</name>
<version>4.0.0</version>
2006-03-09 21:41:32 -05:00
<description>The version of the extension.</description>
2005-07-27 02:14:20 -04:00
<type>String</type>
</field>
</fields>
<codeSegments>
<codeSegment>
<version>4.0.0</version>
<code><![CDATA[
public boolean equals( Object o )
{
if ( this == o )
{
return true;
}
if ( !( o instanceof Extension ) )
{
return false;
}
Extension e = (Extension) o;
if ( !e.getArtifactId().equals( getArtifactId() ) )
{
return false;
}
else if ( !e.getGroupId().equals( getGroupId() ) )
{
return false;
}
else if ( e.getVersion() != null ? !e.getVersion().equals( getVersion() ) : getVersion() != null )
{
return false;
}
return true;
}
public int hashCode()
{
int result = 17;
result = 37 * result + getArtifactId().hashCode();
result = 37 * result + getGroupId().hashCode();
result = 37 * result + getVersion() != null ? getVersion().hashCode() : 0;
return result;
}
]]></code>
</codeSegment>
</codeSegments>
</class>
2004-03-07 20:31:17 -05:00
</classes>
</model>
2004-09-02 08:34:19 -04:00