From 7bb113836515848a9eb0d652cc4d1ea62f23d19d Mon Sep 17 00:00:00 2001
From: dion
Date: Sun, 20 Apr 2003 05:04:36 +0000
Subject: [PATCH] Resurrect pom:validate without licensing issues
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113359 13f79535-47bb-0310-9956-ffa450edef68
---
pom/plugin.jelly | 36 ++++++++++----------
pom/project.xml | 81 +++++++++++++++------------------------------
pom/xdocs/index.xml | 3 +-
3 files changed, 46 insertions(+), 74 deletions(-)
diff --git a/pom/plugin.jelly b/pom/plugin.jelly
index 5ea48f93..ef87240c 100644
--- a/pom/plugin.jelly
+++ b/pom/plugin.jelly
@@ -3,27 +3,21 @@
+ xmlns:pom="pom"
+ xmlns:util="jelly:util"
+ xmlns:v="jelly:validate">
-
+
@@ -38,25 +32,29 @@
name="pom:validate"
description="Validate the Maven XML project descriptor">
-
+
+
+
+
+
- POM is valid
+
-
-
+
+
-
- ${notice.Level} : ${notice.Section} : ${notice.Message}
+
+ ${notice.Level} : ${notice.Section} : ${notice.Message}
diff --git a/pom/project.xml b/pom/project.xml
index 4e1dd551..94fa7c07 100644
--- a/pom/project.xml
+++ b/pom/project.xml
@@ -5,7 +5,7 @@
3
maven-pom-plugin
Maven POM Plugin
- 1.2
+ 1.3-SNAPSHOT
Java Project Management Tools
http://maven.apache.org/reference/plugins/pom/
@@ -45,13 +45,7 @@
-
- ant
- 1.5.1
-
- root
-
-
+
dom4j
1.4-dev-7
@@ -59,46 +53,7 @@
root.maven
-
- commons-jelly
- 20030211.141339
- http://jakarta.apache.org/commons/jelly/
-
- root.maven
-
-
-
- commons-jelly
- commons-jelly-tags-validate
- 20030211.143411
-
- root.maven
-
-
-
- commons-jelly
- commons-jelly-tags-xml
- 20030211.142705
- http://jakarta.apache.org/commons/jelly/libs/xml/
-
- root.maven
-
-
-
- junit
- 3.8.1
-
- root
-
-
-
- maven
- b5
- maven.jar
-
- root.maven
-
-
+
xml-apis
1.0.b2
@@ -106,19 +61,37 @@
root
-
+
+
+ maven
+ 1.0-beta5
+ maven.jar
+
isorelax
- 20020414
+ 20030108
+
+ root
+
+
+
- msv
- 20020414
+ xercesjarv
+ 20020712-DG
+
+ rootgy
+
+
- relaxngDatatype
- 20020414
+ xerces
+ 2.2.1
+
+ root
+
+
diff --git a/pom/xdocs/index.xml b/pom/xdocs/index.xml
index b0feb9a8..b7507c5d 100644
--- a/pom/xdocs/index.xml
+++ b/pom/xdocs/index.xml
@@ -14,7 +14,8 @@
WARNING: pom:validate doesn't work properly on
- descriptors which extend another one.
+ descriptors which extend another one. i.e. it only works on the
+ xml file before processing.