From 7d9db94dced7f78c3c6fdee95df8d939824c9d37 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Thu, 17 Aug 2006 21:37:08 +0000 Subject: [PATCH] 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 --- pom/src/plugin-resources/xsd/pom-strict-3.xsd | 17 +---- pom/xdocs/validation.xml | 65 ++++++++++--------- 2 files changed, 36 insertions(+), 46 deletions(-) diff --git a/pom/src/plugin-resources/xsd/pom-strict-3.xsd b/pom/src/plugin-resources/xsd/pom-strict-3.xsd index f19da458..bc28a592 100644 --- a/pom/src/plugin-resources/xsd/pom-strict-3.xsd +++ b/pom/src/plugin-resources/xsd/pom-strict-3.xsd @@ -45,17 +45,6 @@ - - - 3.0.0 - - 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> - - @@ -77,7 +66,7 @@ - + 3.0.0 @@ -89,7 +78,7 @@ - + 3.0.0+ @@ -101,7 +90,7 @@ - + 3.0.0+ diff --git a/pom/xdocs/validation.xml b/pom/xdocs/validation.xml index 5ce000de..38e5d4fb 100644 --- a/pom/xdocs/validation.xml +++ b/pom/xdocs/validation.xml @@ -67,134 +67,135 @@ Element name Required in stand-alone pom? Required in child pom? + Remarks <extend/> - N/AYes + N/AYes <pomVersion/> - YesYes + YesNo <id/> - YesYes + NoNoDeprecated, use <groupId/> and <artifactId/> instead. <groupId/> - YesNo + YesNo <artifactId/> - NoNo + YesNo <name/> - YesYes + YesNo <currentVersion/> - YesYes + YesNo <description/> - NoNo + NoNo <shortDescription/> - NoNo + NoNo <url/> - NoNo + NoNo <logo/> - NoNo + NoNo <issueTrackingUrl/> - NoNo + NoNo <inceptionYear/> - YesNo + YesNo <gumpRepositoryId/> - NoNo + NoNo <siteAddress/> - NoNo + NoNo <siteDirectory/> - NoNo + NoNo <distributionSite/> - NoNo + NoNo <distributionDirectory/> - NoNo + NoNo <mailingLists> - NoNo + NoNo <developers> - NoNo + NoNo <contributors> - NoNo + NoNo <licenses> - NoNo + NoNo <versions> - NoNo + NoNo <branches> - NoNo + NoNo <packageGroups> - NoNo + NoNo <reports> - NoNo + NoNo <repository> - NoNo + NoNo <organization> - NoNo + NoNo <properties> - NoNo + NoNo <package/> - NoNo + NoNo <build> - NoNo + NoNo <dependencies> - NoNo + NoNo