From d8034b777904309669027a0c91eea4ef673f9951 Mon Sep 17 00:00:00 2001 From: vmassol Date: Thu, 13 Nov 2003 20:45:07 +0000 Subject: [PATCH] Verify valid POM versions. Only "3" and "4" are currently allowed. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114318 13f79535-47bb-0310-9956-ffa450edef68 --- pom/plugin.jelly | 16 +++++++++++++++- pom/xdocs/changes.xml | 3 +++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/pom/plugin.jelly b/pom/plugin.jelly index fc70c9de..7b359cee 100644 --- a/pom/plugin.jelly +++ b/pom/plugin.jelly @@ -5,6 +5,7 @@ xmlns:d="jelly:define" xmlns:pom="pom" xmlns:util="jelly:util" + xmlns:ant="jelly:ant" xmlns:artifact="artifact"> @@ -19,10 +20,23 @@ + + + + + POM version should be either "3" or "4", found "${pom.pomVersion}". + + + + - diff --git a/pom/xdocs/changes.xml b/pom/xdocs/changes.xml index 38584bc8..2105799d 100644 --- a/pom/xdocs/changes.xml +++ b/pom/xdocs/changes.xml @@ -7,6 +7,9 @@ + + Verify valid POM versions. Only "3" and "4" are currently allowed. + Added support for validating different POM versions.