diff --git a/maven-model/src/main/mdo/maven.mdo b/maven-model/src/main/mdo/maven.mdo index 390cbe6297..74313370ca 100644 --- a/maven-model/src/main/mdo/maven.mdo +++ b/maven-model/src/main/mdo/maven.mdo @@ -1,58 +1,61 @@ - + | + | 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. + | + | o need to clean up all the descriptions, matching anything to the current project-descriptor.xml file and + | improving on that + | + | o use enums where appropriate (eg dependency scope) + | + | 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 + | +--> + maven Maven - + This is a reference for the Maven project descriptor used in Maven.

An XSD is available at:

- ]]>
+ ]]> + package @@ -63,32 +66,38 @@ under the License. Model ModelBase - <project> element is the root of the descriptor. - The following table lists all of the possible child elements. - ]]> + + <project> element is the root of the descriptor. + The following table lists all of the possible child elements. + ]]> + 3.0.0+ extend 3.0.0 - + project.xml file. For example, <extend>${basedir}/../project.xml</extend>. - ]]> + ]]> + String parent 4.0.0 - + + ]]> + Parent @@ -98,7 +107,11 @@ under the License. modelVersion 4.0.0 true - + + + String @@ -107,44 +120,54 @@ under the License. true String - 3.]]> + 3. + ]]> + groupId 3.0.0+ true - + org.apache.maven). - ]]> + ]]> + String artifactId 3.0.0+ true - + + ]]> + String id 3.0.0 true - + Deprecated. When used, this sets both the groupId and artifactId elements if they were previously empty. - ]]> + ]]> + String packaging 4.0.0 - + jar war ear @@ -152,7 +175,8 @@ under the License. Plugins can create their own packaging, and therefore their own packaging types, so this list does not contain all possible types. - ]]> + ]]> + String jar @@ -160,16 +184,20 @@ under the License. name 3.0.0+ true - + + ]]> + String currentVersion - + + ]]> + 3.0.0 true String @@ -178,57 +206,68 @@ under the License. version 4.0.0 true - + + ]]> + String shortDescription 3.0.0 - + + + String description 3.0.0+ - + + ]]> + String url 3.0.0+ - + + + String logo 3.0.0 - + /images/project-logo.png) or an absolute URL (e.g., http://my.corp/project-logo.png). This is used when generating the project documentation. - ]]> + ]]> + String prerequisites 4.0.0 - Describes the prerequisites in the build environment for this project. + Describes the prerequisites in the build environment for + this project. Prerequisites @@ -237,15 +276,21 @@ under the License. issueTrackingUrl 3.0.0 - + + + String issueManagement 4.0.0 - + + + IssueManagement @@ -253,7 +298,11 @@ under the License. ciManagement 4.0.0 - + + + CiManagement @@ -262,63 +311,77 @@ under the License. inceptionYear 3.0.0+ true - + + ]]> + String gumpRepositoryId 3.0.0 - + + ]]> + String siteAddress 3.0.0 - + + deployed. + ]]> + String siteDirectory 3.0.0 - + + ]]> + String distributionSite 3.0.0 - + maven.repo.central and maven.repo.central.directory. - ]]> + determined by maven.repo.central and maven.repo.central.directory. + ]]> + String distributionDirectory 3.0.0 - + + ]]> + String mailingLists 3.0.0+ - + + ]]> + MailingList * @@ -327,9 +390,11 @@ under the License. developers 3.0.0+ - + + ]]> + Developer * @@ -338,9 +403,11 @@ under the License. contributors 3.0.0+ - + + ]]> + Contributor * @@ -349,15 +416,17 @@ under the License. licenses 3.0.0+ - license element, which + + license element, which is then described by additional elements. - Projects should only list the license(s) that applies to the project + Projects should only list the license(s) that applies to the project and not the licenses that apply to dependencies. If multiple licenses are listed, it is assumed that the user can select any of them, not that they must accept all. - ]]> + ]]> + License * @@ -366,9 +435,11 @@ under the License. versions 3.0.0 - + + ]]> + Version * @@ -377,9 +448,11 @@ under the License. branches 3.0.0 - + + ]]> + Branch * @@ -388,7 +461,11 @@ under the License. packageGroups 3.0.0 - + + + PackageGroup * @@ -397,13 +474,15 @@ under the License. reports 3.0.0 - + maven site. All of the reports will be included in the navigation bar for browsing in the order they are specified. - ]]> + ]]> + String * @@ -413,7 +492,10 @@ under the License. scm 4.0.0 - + + Scm @@ -422,7 +504,10 @@ under the License. repository 3.0.0 - + + Repository @@ -430,11 +515,13 @@ under the License. organization 3.0.0+ - + + ]]> + organisation Organization @@ -443,9 +530,11 @@ under the License. properties 3.0.0 - <name>value</name>. - ]]> + + <name>value</name>. + ]]> + Properties String @@ -456,16 +545,22 @@ under the License. packageName 3.0.0 String - + + ]]> + build 3.0.0+ true - + + + Build @@ -473,9 +568,11 @@ under the License. profiles 4.0.0 - + + ]]> + Profile * @@ -485,32 +582,35 @@ under the License. 3.0.0 - + + } + ]]> + 4.0.0 - + + ]]> + @@ -537,8 +638,9 @@ under the License. modules 4.0.0 - 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. + 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. String @@ -548,8 +650,12 @@ under the License. repositories 4.0.0 - + + + Repository * @@ -559,7 +665,10 @@ under the License. pluginRepositories 4.0.0 - + + Repository * @@ -568,15 +677,17 @@ under the License. dependencies 3.0.0+ - the - dependency mechanism for more information. - ]]> + + the + dependency mechanism for more information. + ]]> + Dependency * @@ -585,19 +696,23 @@ under the License. reports 4.0.0 - + Deprecated. Now ignored by Maven. - ]]> + ]]> + DOM reporting 4.0.0 - + mvn site. All of the reports will be included in the navigation bar for browsing. - ]]> + ]]> + Reporting @@ -606,13 +721,15 @@ under the License. dependencyManagement 4.0.0 false - + + ]]> + DependencyManagement @@ -620,8 +737,12 @@ under the License. distributionManagement 4.0.0 - + + + DistributionManagement @@ -629,10 +750,12 @@ under the License. properties 4.0.0 - <name>value</name>. - ]]> + + <name>value</name>. + ]]> + Properties String @@ -644,19 +767,23 @@ under the License. Branch 3.0.0 - + + + tag 3.0.0 true - + + ]]> + String @@ -668,9 +795,7 @@ under the License. plugins 4.0.0 - - The list of plugins to use. - + The list of plugins to use. Plugin * @@ -680,9 +805,10 @@ under the License. 4.0.0 - + + ]]> + @@ -714,18 +841,20 @@ under the License. PluginContainer + | plugins to be used in sub-projects. --> pluginManagement 4.0.0 false - + + ]]> + PluginManagement @@ -740,18 +869,22 @@ under the License. defaultGoal 3.0.0+ - + + ]]> + String resources 3.0.0+ - + + ]]> + Resource * @@ -760,10 +893,12 @@ under the License. testResources 4.0.0 - + + ]]> + Resource * @@ -772,26 +907,32 @@ under the License. directory 4.0.0 - + + ]]> + String finalName 4.0.0 - + ${artifactId}-${version}. - ]]> + ]]> + String filters 4.0.0 - + + + String * @@ -807,98 +948,114 @@ under the License. nagEmailAddress 3.0.0 - + + ]]> + String sourceDirectory 3.0.0+ true - + + ]]> + String scriptSourceDirectory 4.0.0 true - + + ]]> + String unitTestSourceDirectory 3.0.0 true - + + ]]> + String testSourceDirectory 4.0.0 true - + + ]]> + String aspectSourceDirectory 3.0.0 - + + + String integrationUnitTestSourceDirectory 3.0.0 - deprecated and should no longer be used. - Initially it was used by the first Cactus plugin. Now - the location of the Cactus test sources is defined - through a plugin property. See the Cactus plugin - properties - page. - ]]> + + deprecated and should no longer be used. + Initially it was used by the first Cactus plugin. Now + the location of the Cactus test sources is defined + through a plugin property. See the Cactus plugin + properties + page. + ]]> + String sourceModifications 3.0.0 true - + + the build is running in. + ]]> + SourceModification * @@ -908,9 +1065,11 @@ under the License. unitTest 3.0.0 true - + + ]]> + new UnitTest() UnitTest @@ -919,23 +1078,29 @@ under the License. outputDirectory 4.0.0 - + + ]]> + String testOutputDirectory 4.0.0 - + + ]]> + String extensions 4.0.0 - A set of build extensions to use from this project. + + A set of build extensions to use from this project. + Extension * @@ -951,23 +1116,31 @@ under the License. system 4.0.0 - continuum.]]> + continuum. + ]]> + String url 4.0.0 - + + String notifiers 4.0.0 - + + ]]> + * Notifier @@ -978,7 +1151,8 @@ under the License. Notifier - Configures one method for notifying users/developers when a build breaks. + Configures one method for notifying users/developers when a + build breaks. 4.0.0 @@ -987,48 +1161,62 @@ under the License. 4.0.0 mail String - The mechanism used to deliver notifications. + + The mechanism used to deliver notifications. + sendOnError 4.0.0 true boolean - Whether to send notifications on error. + + Whether to send notifications on error. + sendOnFailure 4.0.0 true boolean - Whether to send notifications on failure. + + Whether to send notifications on failure. + sendOnSuccess 4.0.0 true boolean - Whether to send notifications on success. + + Whether to send notifications on success. + sendOnWarning 4.0.0 true boolean - Whether to send notifications on warning. + + Whether to send notifications on warning. + address 4.0.0 String - + Deprecated. Where to send the notification to - eg email address. - ]]> + ]]> + configuration - Extended configuration specific to this notifier goes here. + + Extended configuration specific to this notifier goes here. + Properties String @@ -1040,28 +1228,40 @@ under the License. Contributor - Description of a person who has contributed to the project, but who does - not have commit privileges. Usually, these contributions come in the - form of patches submitted. + Description of a person who has contributed to the project, but + who does not have commit privileges. Usually, these + contributions come in the form of patches submitted. 3.0.0+ name 3.0.0+ - + + + String email 3.0.0+ - + + + String url 3.0.0+ - + + + String @@ -1069,24 +1269,34 @@ under the License. organization organisation 3.0.0+ - + + + String organizationUrl organisationUrl 3.0.0+ - + + + String roles 3.0.0+ - + role element, the body of which is a role name. This can also be used to describe the contribution. - ]]> + ]]> + String * @@ -1095,17 +1305,21 @@ under the License. timezone 3.0.0+ - + + ]]> + String properties 3.0.0+ - + + ]]> + Properties String @@ -1122,75 +1336,90 @@ under the License. id 3.0.0 true - Deprecated. Please use groupId and - artifactId together instead. - ]]> + + Deprecated. Please use groupId and + artifactId together instead. + ]]> + String groupId 3.0.0+ true - + org.apache.maven. - ]]> + ]]> + String artifactId 3.0.0+ true - + maven-artifact. - ]]> + ]]> + String version 3.0.0+ - + 3.2.1. In Maven 2, this can also be specified as a range of versions. - ]]> + ]]> + String url 3.0.0 - + + ]]> + String jar 3.0.0 - + + ]]> + String type 3.0.0 - + jar. While it usually represents the extension on the filename of the dependency, that is not always the case. Some examples are jar, war, and plugin. A dependency of type plugin is loaded as a Maven plugin and not added to the project build classpath. - ]]> + ]]> + String jar type 4.0.0 - + jar. While it usually represents the extension on the filename of the dependency, that is not always the case. A type can be mapped to a different extension and a classifier. @@ -1198,30 +1427,35 @@ under the License. Some examples are jar, war, ejb-client and test-jar. New types can be defined by plugins that set extensions to true, so this is not a complete list. - ]]> + ]]> + String jar classifier 4.0.0 - + jdk14 and jdk15. - ]]> + ]]> + String false properties 3.0.0 - + war.bundle property, and if found will include the + war.bundle property, and if found will include the dependency in WEB-INF/lib. - ]]> + ]]> + Properties String @@ -1231,39 +1465,44 @@ under the License. scope 4.0.0 - + compile, runtime, test, system, and provided. Used to calculate the various classpaths used for compilation, testing, and so on. It also assists in determining which artifacts to include in a distribution of this project. For more information, see the - dependency mechanism.]]> + dependency mechanism. + ]]> String - + systemPath 4.0.0 - + discouraged and may be replaced in later versions. This specifies the path on the filesystem for this dependency. Requires an absolute path for the value, not relative. Use a property that gives the machine specific absolute path, e.g. ${java.home}. - ]]> + ]]> + String exclusions 4.0.0 - Lists a set of artifacts that should be excluded from this dependency's artifact list when it comes to - calculating transitive dependencies. + Lists a set of artifacts that should be excluded from this + dependency's artifact list when it comes to calculating + transitive dependencies. Exclusion @@ -1274,9 +1513,10 @@ under the License. optional 4.0.0 - Indicates the dependency is optional for use of this library. While the version of the dependency will be - taken into account for dependency calculation if the library is used elsewhere, it will not be passed on - transitively. + 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. boolean false @@ -1285,34 +1525,41 @@ under the License. 3.0.0 - + + ]]> + 4.0.0 - + + ]]> + 4.0.0 - + + ]]> + 3.0.0 - + + ]]> + Contributor Developer - + + ]]> + 3.0.0+ id 3.0.0+ - + + + String @@ -1422,14 +1676,22 @@ under the License. artifactId 4.0.0 - + + + String true groupId 4.0.0 - + + + String true @@ -1438,20 +1700,29 @@ under the License. IssueManagement - Information about the issue tracking (or bug tracking) system used to manage this project. + Information about the issue tracking (or bug tracking) system + used to manage this project. 4.0.0 system 4.0.0 - + + + String url 4.0.0 - + + + String @@ -1459,18 +1730,22 @@ under the License. DistributionManagement 4.0.0 - + + ]]> + repository 4.0.0 - + + ]]> + DeploymentRepository @@ -1478,18 +1753,22 @@ under the License. snapshotRepository 4.0.0 - + repository element. - ]]> + ]]> + DeploymentRepository site - + + ]]> + 4.0.0 Site @@ -1498,18 +1777,21 @@ under the License. downloadUrl 4.0.0+ - + url. This is given to assist in locating artifacts that are not in the repository due to licensing restrictions. - ]]> + ]]> + String relocation 4.0.0 - Relocation information of the artifact if it has been moved to a new group ID and/or artifact ID. + Relocation information of the artifact if it has been moved + to a new group ID and/or artifact ID. Relocation @@ -1518,13 +1800,15 @@ under the License. status 4.0.0 - + none (default), converted (repository manager converted this from an Maven 1 POM), partner (directly synced from a partner Maven 2 repository), deployed (was deployed from a Maven 2 instance), verified (has been hand verified as correct and final). - ]]> + ]]> + false String @@ -1532,37 +1816,49 @@ under the License. License - + + ]]> + 3.0.0+ name 3.0.0+ - + + + String url 3.0.0+ - + + + String distribution 3.0.0+ - +
repo
may be downloaded from the Maven repository
manual
user must manually download and install the dependency.
- ]]>
+ ]]> + String
@@ -1578,64 +1874,80 @@ under the License. MailingList 3.0.0+ - + + ]]> + name 3.0.0+ - + + + String subscribe 3.0.0+ - + mailto: link will automatically be created when the documentation is created. - ]]> + ]]> + String unsubscribe 3.0.0+ - + mailto: link will automatically be created when the documentation is created. - ]]> + ]]> + String post 3.0.0+ - + mailto: link will automatically be created when the documentation is created. - ]]> + ]]> + String archive 3.0.0+ - + + ]]> + String otherArchives 3.0.0+ - + + ]]> + String * @@ -1643,39 +1955,51 @@ under the License. - 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. + 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. Organization - Specifies the organization that produces this project. + + Specifies the organization that produces this project. + 3.0.0+ name 3.0.0+ - + + + String url 3.0.0+ - + + + String logo 3.0.0 - + /images/org-logo.png) or an absolute URL (e.g., http://my.corp/logo.png). This value is used when generating the project documentation. - ]]> + ]]> + String @@ -1688,13 +2012,21 @@ under the License. title 3.0.0 - + + + String packages 3.0.0 - + + + String
@@ -1706,7 +2038,11 @@ under the License. includes 3.0.0+ - **/*.xml.]]> + + **/*.xml. + ]]> + String * @@ -1715,7 +2051,11 @@ under the License. excludes 3.0.0+ - **/*.xml]]> + + **/*.xml + ]]> + String * @@ -1730,27 +2070,40 @@ under the License. artifactId 4.0.0 - + + + true String groupId 4.0.0 - + + + true String version 4.0.0 - + + + String relativePath 4.0.0 - + pom.xml file within the check out. The default value is ../pom.xml. Maven looks for the parent pom first in the reactor of currently building projects, then in this location on @@ -1760,7 +2113,8 @@ under the License. However, the group ID, artifact ID and version are still required, and must match the file in the location given or it will revert to the repository for the POM. This feature is only for enhancing the development in a local checkout of that project. - ]]> + ]]> + String ../pom.xml @@ -1768,7 +2122,8 @@ under the License. 4.0.0 - + + ]]> + @@ -1795,30 +2151,37 @@ under the License. connection 3.0.0 - URL format - and list of supported SCMs. - This connection is read-only. - ]]> + + URL format + and list of supported SCMs. + This connection is read-only. + ]]> + String developerConnection 3.0.0 - + connection, but for developers, i.e. this scm connection will not be read only. - ]]> + ]]> + String url 3.0.0 - + + String
@@ -1830,31 +2193,37 @@ under the License. connection 4.0.0 - URL format - and list of supported SCMs. - This connection is read-only. - ]]> + + URL format + and list of supported SCMs. + This connection is read-only. + ]]> + String developerConnection 4.0.0 - + connection, but for developers, i.e. this scm connection will not be read only. - ]]> + ]]> + String tag 4.0.0 - + + ]]> + String HEAD @@ -1862,7 +2231,10 @@ under the License. url 4.0.0 - + + String
@@ -1875,43 +2247,51 @@ under the License. directory 3.0.0+ - + + ]]> + String Resource - + + ]]> + 3.0.0+ FileSet targetPath 3.0.0+ - + org.apache.maven.messages), you must specify this + (org.apache.maven.messages), you must specify this element with this value: org/apache/maven/messages. This is not required if you simply put the resources in that directory structure at the source, however. - ]]> + ]]> + String filtering 3.0.0+ - + properties element and from the properties in the files listed in the filters element. - ]]> + ]]> + boolean false @@ -1919,33 +2299,39 @@ under the License. SourceModification - + + ]]> + 3.0.0 FileSet className 3.0.0 - + not be - loaded, then the includes and excludes specified below + loaded, then the includes and excludes specified below will be applied to the contents of the sourceDirectory. - ]]> + ]]> + String property 3.0.0 - + not set, then the includes and excludes specified below will be applied to the contents of the sourceDirectory. - ]]> + ]]> + String @@ -1958,7 +2344,11 @@ under the License. resources 3.0.0 - + + + Resource * @@ -1969,51 +2359,61 @@ under the License. Version 3.0.0 - + version element - ]]> + ]]> + name 3.0.0 - + 1.0, 1.1-alpha1, 1.2-beta, 1.3.2 etc. - ]]> + ]]> + String tag 3.0.0 - + + ]]> + String id 3.0.0 - + + ]]> + String 3.0.0 - + + ]]> + @@ -2021,43 +2421,53 @@ under the License. RepositoryBase 4.0.0 - + + ]]> + id 4.0.0 - + settings.xml file, for example. - ]]> + ]]> + String name 4.0.0 - + + ]]> + String url 4.0.0 - protocol://hostname/path. - ]]> + + protocol://hostname/path. + ]]> + String layout 4.0.0 - + legacy or default. - ]]> + ]]> + String default @@ -2065,7 +2475,8 @@ under the License. 4.0.0 - + + ]]> + @@ -2089,13 +2501,16 @@ under the License. RepositoryBase 4.0.0 - A repository contains the information needed for establishing connections with remote repository. + A repository contains the information needed for establishing + connections with remote repository. releases 4.0.0 - How to handle downloading of releases from this repository. + + How to handle downloading of releases from this repository. + RepositoryPolicy @@ -2103,7 +2518,9 @@ under the License. snapshots 4.0.0 - How to handle downloading of snapshots from this repository. + + How to handle downloading of snapshots from this repository. + RepositoryPolicy @@ -2113,12 +2530,14 @@ under the License. 4.0.0 - + + ]]> + @@ -2128,13 +2547,17 @@ under the License. RepositoryBase 4.0.0 - Repository contains the information needed for deploying to the remote repository. + Repository contains the information needed for deploying to the + remote repository. uniqueVersion - Whether to assign snapshots a unique version comprised of the timestamp and build number, or to - use the same version each time + + Whether to assign snapshots a unique version comprised of + the timestamp and build number, or to use the same version + each time + boolean true 4.0.0 @@ -2144,12 +2567,14 @@ under the License. 4.0.0 - + + ]]> + @@ -2162,14 +2587,18 @@ under the License. enabled 4.0.0 - Whether to use this repository for downloading this type of artifact. + + Whether to use this repository for downloading this type of + artifact. + boolean true updatePolicy 4.0.0 - + always, daily @@ -2178,13 +2607,15 @@ under the License. (in minutes) or never (only if it doesn't exist locally). - ]]> + ]]> + String checksumPolicy 4.0.0 - + ignore , @@ -2192,7 +2623,8 @@ under the License. or warn (the default). - ]]> + ]]> + String @@ -2202,33 +2634,41 @@ under the License. Site 4.0.0 - + + + id 4.0.0 - + settings.xml file, for example. - ]]> + ]]> + String name 4.0.0 - + + ]]> + String url 4.0.0 - protocol://hostname/path. - ]]> + + protocol://hostname/path. + ]]> + String @@ -2242,7 +2682,10 @@ under the License. inherited 4.0.0 - + + String
@@ -2253,19 +2696,21 @@ under the License. 4.0.0 - + + ]]> + @@ -2276,14 +2721,18 @@ under the License. groupId - The group ID of the plugin in the repository. + + The group ID of the plugin in the repository. + 4.0.0 String org.apache.maven.plugins artifactId - The artifact ID of the plugin in the repository. + + The artifact ID of the plugin in the repository. + 4.0.0 String true @@ -2291,23 +2740,32 @@ under the License. version 4.0.0 - + + + String extensions 4.0.0 boolean - Whether to load Maven extensions (such as packaging and type handlers) from this - plugin. For performance reasons, this should only be enabled when necessary. + + Whether to load Maven extensions (such as packaging and type + handlers) from this plugin. For performance reasons, this + should only be enabled when necessary. + false executions 4.0.0 - Multiple specifications of a set of goals to execute during the build lifecycle, each having - (possibly) different - configuration. + + Multiple specifications of a set of goals to execute during + the build lifecycle, each having (possibly) different + configuration. + PluginExecution * @@ -2315,8 +2773,10 @@ under the License. dependencies - Additional dependencies that this project needs to introduce to the plugin's - classloader. + + Additional dependencies that this project needs to introduce + to the plugin's classloader. + 4.0.0 Dependency @@ -2326,18 +2786,21 @@ under the License. goals 4.0.0 - + Deprecated. Unused by Maven. - ]]> + ]]> + DOM 4.0.0 - + elements.\nOffending execution\n\nId: \'" + exec.getId() + "\'\nPlugin:\'" + getKey() + "\'\n\n" ); } - + executionMap.put( exec.getId(), exec ); } } } - + return executionMap; } - + public String getKey() { return constructKey( groupId, artifactId ); @@ -2376,29 +2839,30 @@ under the License. { return groupId + ":" + artifactId; } - + 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() + "]"; } - ]]> + ]]> + @@ -2412,20 +2876,28 @@ under the License. 4.0.0 String default - The identifier of this execution for labelling the goals during the build, and for matching - exections to merge during inheritance. + + The identifier of this execution for labelling the goals + during the build, and for matching exections to merge during + inheritance. + phase 4.0.0 String - 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. + + 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. + goals 4.0.0 - The goals to execute with the given configuration. + + The goals to execute with the given configuration. + String * @@ -2435,9 +2907,11 @@ under the License. 4.0.0 - + + ]]> + @@ -2445,15 +2919,16 @@ under the License. DependencyManagement 4.0.0 - Section for management of default dependency information for use in a group of POMs. + Section for management of default dependency information for use + in a group of POMs. dependencies 4.0.0 - The dependencies specified here are not used until they - are referenced in a POM within the group. This allows the + The dependencies specified here are not used until they are + referenced in a POM within the group. This allows the specification of a "standard" version for a particular dependency. @@ -2469,37 +2944,47 @@ under the License. 4.0.0 PluginContainer - Section for management of default plugin information for use in a group of POMs. + Section for management of default plugin information for use in + a group of POMs. Reporting 4.0.0 - Section for management of reports and their configuration. + + Section for management of reports and their configuration. + excludeDefaults 4.0.0 boolean - If true, then the default reports are not included in the site generation. This includes the - reports in the "Project Info" menu. + + If true, then the default reports are not included in the + site generation. This includes the reports in the "Project + Info" menu. + false outputDirectory 4.0.0 String - + ${project.build.directory}/site . - ]]> + ]]> + plugins 4.0.0 - The reporting plugins to use and their configuration. + + The reporting plugins to use and their configuration. + ReportPlugin * @@ -2509,7 +2994,8 @@ under the License. 4.0.0 - + + ]]> + @@ -2542,9 +3029,11 @@ under the License. Profile ModelBase 4.0.0 - + + ]]> + id @@ -2552,14 +3041,21 @@ under the License. 4.0.0 String default - The identifier of this build profile. This used both for command line activation, and identifies - identical profiles to merge with during inheritance. + + The identifier of this build profile. This used both for + command line activation, and identifies identical profiles + to merge with during inheritance. + activation 4.0.0 - + + + Activation @@ -2568,7 +3064,11 @@ under the License. build 4.0.0 true - + + + BuildBase @@ -2577,7 +3077,8 @@ under the License. 4.0.0 - + + ]]> + Activation 4.0.0 - + + ]]> + activeByDefault 4.0.0 boolean - Flag specifying whether this profile is active by default. + + Flag specifying whether this profile is active by default. + jdk 4.0.0 String - + 1.4 only activates on JDKs versioned 1.4, while !1.4 matches any JDK that is not version 1.4. - ]]> + ]]> + os 4.0.0 - + + ]]> + ActivationOS @@ -2636,9 +3146,11 @@ under the License. property 4.0.0 - + + ]]> + ActivationProperty @@ -2646,9 +3158,11 @@ under the License. file 4.0.0 - + + + ActivationFile @@ -2657,7 +3171,8 @@ under the License. custom 4.0.0 - Describes a custom profile activation trigger, brought in via build extension. + Describes a custom profile activation trigger, brought in + via build extension. ActivationCustom @@ -2668,109 +3183,144 @@ under the License. ActivationProperty 4.0.0 - + + ]]> + name 4.0.0 String true - The name of the property to be used to activate a profile. + + The name of the property to be used to activate a profile. + value 4.0.0 String - The value of the property required to activate a profile. + + The value of the property required to activate a profile. + ActivationOS 4.0.0 - + + ]]> + name 4.0.0 String - ${os.name} Java property, such as Windows XP.]]> + + ${os.name} Java property, such as Windows XP. + ]]> + family 4.0.0 String - windows or unix.]]> + windows or unix. + ]]> + arch 4.0.0 String - The architecture of the operating system to be used to activate the profile. + + The architecture of the operating system to be used to + activate the profile. + version 4.0.0 String - The version of the operating system to be used to activate the profile. + + The version of the operating system to be used to activate + the profile. + ActivationFile 4.0.0 - + + ]]> + missing 4.0.0 String - The name of the file that must be missing to activate the profile. + + The name of the file that must be missing to activate the + profile. + exists 4.0.0 String - The name of the file that must exist to activate the profile. + + The name of the file that must exist to activate the + profile. + ActivationCustom 4.0.0 - + + ]]> + configuration 4.0.0 DOM - + + ]]> + type 4.0.0 String - + + ]]> + @@ -2785,39 +3335,55 @@ under the License. String true org.apache.maven.plugins - The group ID of the reporting plugin in the repository. + + The group ID of the reporting plugin in the repository. + artifactId 4.0.0 String true - The artifact ID of the reporting plugin in the repository. + + The artifact ID of the reporting plugin in the repository. + version 4.0.0 - + + + String inherited 4.0.0 String - Whether the configuration in this plugin should be made available to projects that - inherit from this one. + + Whether the configuration in this plugin should be made + available to projects that inherit from this one. + configuration 4.0.0 DOM - The configuration of the reporting plugin. + + The configuration of the reporting plugin. + reportSets 4.0.0 - execution in the build.]]> + + execution in the build. + ]]> + ReportSet * @@ -2827,9 +3393,10 @@ under the License. 4.0.0 - + + ]]> + ReportSet 4.0.0 - Represents a set of reports and configuration to be used to generate them. + + Represents a set of reports and configuration to be used to + generate them. + id String true - The unique id for this report set, to be used during POM inheritance. + + The unique id for this report set, to be used during POM + inheritance. + default configuration 4.0.0 - Configuration of the report to be used when generating this set. + + Configuration of the report to be used when generating this + set. + DOM @@ -2901,15 +3478,20 @@ under the License. 4.0.0 String - + + reports 4.0.0 true - + + ]]> + String * @@ -2919,33 +3501,40 @@ under the License. 4.0.0 - + + ]]> + Prerequisites 4.0.0 - Describes the prerequisites a project can have. + + Describes the prerequisites a project can have. + maven 4.0.0 String 2.0 - The minimum version of Maven required to build the project, or to use this plugin. + + The minimum version of Maven required to build the project, + or to use this plugin. + false @@ -2953,19 +3542,25 @@ under the License. Relocation 4.0.0 - Describes where an artifact has moved to. If any of the values are omitted, it is assumed to be the - same as it was before. + + 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. + groupId 4.0.0 - The group ID the artifact has moved to. + + The group ID the artifact has moved to. + String artifactId 4.0.0 - The new artifact ID of the artifact. + + The new artifact ID of the artifact. + String @@ -2977,7 +3572,10 @@ under the License. message 4.0.0 - An additional message to show the user about the move, such as the reason. + + An additional message to show the user about the move, such + as the reason. + String @@ -2990,7 +3588,9 @@ under the License. groupId 4.0.0 - The group ID of the extension's artifact. + + The group ID of the extension's artifact. + true String @@ -3011,7 +3611,8 @@ under the License. 4.0.0 - + + ]]> +