You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2005/11/30 22:39:02 UTC

svn commit: r350058 - /maven/maven-1/plugins/trunk/pom/plugin.jelly

Author: ltheussl
Date: Wed Nov 30 13:38:59 2005
New Revision: 350058

URL: http://svn.apache.org/viewcvs?rev=350058&view=rev
Log:
Require plugin-plugin >= 1.7 for pom:validate

Modified:
    maven/maven-1/plugins/trunk/pom/plugin.jelly

Modified: maven/maven-1/plugins/trunk/pom/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pom/plugin.jelly?rev=350058&r1=350057&r2=350058&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pom/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/pom/plugin.jelly Wed Nov 30 13:38:59 2005
@@ -27,7 +27,8 @@
   xmlns:ant="jelly:ant"
   xmlns:x="jelly:xml"
   xmlns:log="jelly:log"
-  xmlns:artifact="artifact">
+  xmlns:artifact="artifact"
+  xmlns:assert="assert">
 
   <!-- set up pom tag library -->
   <d:taglib uri="pom">
@@ -60,6 +61,12 @@
   <goal
     name="pom:validate"
     description="Validate the Maven XML project descriptor">
+
+    <assert:assertPluginAvailable
+        groupId="maven"
+        artifactId="maven-plugin-plugin"
+        minRelease="1.7"
+        neededBy="${plugin.artifactId}"/>
 
     <j:set var="xsd"
         value="${plugin.resources}/xsd/pom-strict-${pom.pomVersion}.xsd"/>