PR: MPPOM-6
Fix schema for pom:validate, the id element is deprecated and replaced by groupId/artifactId. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@432394 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7d086b5bd
commit
7d9db94dce
@ -45,17 +45,6 @@
|
|||||||
</xs:annotation>
|
</xs:annotation>
|
||||||
|
|
||||||
<xs:all>
|
<xs:all>
|
||||||
<xs:element minOccurs="0" name="extend" type="xs:string">
|
|
||||||
<xs:annotation>
|
|
||||||
<xs:documentation source="version">3.0.0</xs:documentation>
|
|
||||||
|
|
||||||
<xs:documentation source="description">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 path may
|
|
||||||
be absolute, or relative to the current project.xml file. <div
|
|
||||||
class="source"><pre>&lt;extend&gt;${basedir}/../project.xml&lt;/extend&gt;</pre></div></xs:documentation>
|
|
||||||
</xs:annotation>
|
|
||||||
</xs:element>
|
|
||||||
|
|
||||||
<xs:element name="pomVersion">
|
<xs:element name="pomVersion">
|
||||||
<xs:annotation>
|
<xs:annotation>
|
||||||
@ -77,7 +66,7 @@
|
|||||||
|
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
<xs:element name="id" type="xs:string">
|
<xs:element minOccurs="0" name="id" type="xs:string">
|
||||||
<xs:annotation>
|
<xs:annotation>
|
||||||
<xs:documentation source="version">3.0.0</xs:documentation>
|
<xs:documentation source="version">3.0.0</xs:documentation>
|
||||||
|
|
||||||
@ -89,7 +78,7 @@
|
|||||||
</xs:annotation>
|
</xs:annotation>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
<xs:element minOccurs="1" name="groupId" type="xs:string">
|
<xs:element name="groupId" type="xs:string">
|
||||||
<xs:annotation>
|
<xs:annotation>
|
||||||
<xs:documentation source="version">3.0.0+</xs:documentation>
|
<xs:documentation source="version">3.0.0+</xs:documentation>
|
||||||
|
|
||||||
@ -101,7 +90,7 @@
|
|||||||
</xs:annotation>
|
</xs:annotation>
|
||||||
</xs:element>
|
</xs:element>
|
||||||
|
|
||||||
<xs:element minOccurs="0" name="artifactId" type="xs:string">
|
<xs:element name="artifactId" type="xs:string">
|
||||||
<xs:annotation>
|
<xs:annotation>
|
||||||
<xs:documentation source="version">3.0.0+</xs:documentation>
|
<xs:documentation source="version">3.0.0+</xs:documentation>
|
||||||
|
|
||||||
|
|||||||
@ -67,134 +67,135 @@
|
|||||||
<th>Element name</th>
|
<th>Element name</th>
|
||||||
<th>Required in stand-alone pom?</th>
|
<th>Required in stand-alone pom?</th>
|
||||||
<th>Required in child pom?</th>
|
<th>Required in child pom?</th>
|
||||||
|
<th>Remarks</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><extend/></code></td>
|
<td><code><extend/></code></td>
|
||||||
<td>N/A</td><td>Yes</td>
|
<td>N/A</td><td>Yes</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><pomVersion/></code></td>
|
<td><code><pomVersion/></code></td>
|
||||||
<td>Yes</td><td>Yes</td>
|
<td>Yes</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><id/></code></td>
|
<td><code><id/></code></td>
|
||||||
<td>Yes</td><td>Yes</td>
|
<td>No</td><td>No</td><td>Deprecated, use <code><groupId/></code> and <artifactId/> instead.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><groupId/></code></td>
|
<td><code><groupId/></code></td>
|
||||||
<td>Yes</td><td>No</td>
|
<td>Yes</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><artifactId/></code></td>
|
<td><code><artifactId/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>Yes</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><name/></code></td>
|
<td><code><name/></code></td>
|
||||||
<td>Yes</td><td>Yes</td>
|
<td>Yes</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><currentVersion/></code></td>
|
<td><code><currentVersion/></code></td>
|
||||||
<td>Yes</td><td>Yes</td>
|
<td>Yes</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><description/></code></td>
|
<td><code><description/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><shortDescription/></code></td>
|
<td><code><shortDescription/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><url/></code></td>
|
<td><code><url/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><logo/></code></td>
|
<td><code><logo/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><issueTrackingUrl/></code></td>
|
<td><code><issueTrackingUrl/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><inceptionYear/></code></td>
|
<td><code><inceptionYear/></code></td>
|
||||||
<td>Yes</td><td>No</td>
|
<td>Yes</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><gumpRepositoryId/></code></td>
|
<td><code><gumpRepositoryId/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><siteAddress/></code></td>
|
<td><code><siteAddress/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><siteDirectory/></code></td>
|
<td><code><siteDirectory/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><distributionSite/></code></td>
|
<td><code><distributionSite/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><distributionDirectory/></code></td>
|
<td><code><distributionDirectory/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><mailingLists></code></td>
|
<td><code><mailingLists></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><developers></code></td>
|
<td><code><developers></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><contributors></code></td>
|
<td><code><contributors></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><licenses></code></td>
|
<td><code><licenses></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><versions></code></td>
|
<td><code><versions></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><branches></code></td>
|
<td><code><branches></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><packageGroups></code></td>
|
<td><code><packageGroups></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><reports></code></td>
|
<td><code><reports></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><repository></code></td>
|
<td><code><repository></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><organization></code></td>
|
<td><code><organization></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><properties></code></td>
|
<td><code><properties></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><package/></code></td>
|
<td><code><package/></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><build></code></td>
|
<td><code><build></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code><dependencies></code></td>
|
<td><code><dependencies></code></td>
|
||||||
<td>No</td><td>No</td>
|
<td>No</td><td>No</td><td></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</subsection>
|
</subsection>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user