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/12/07 01:19:00 UTC

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

Author: ltheussl
Date: Tue Dec  6 16:18:56 2005
New Revision: 354627

URL: http://svn.apache.org/viewcvs?rev=354627&view=rev
Log:
Don't use the pom's pomVersion (it might not be correct already) to validate but the plugin's pomVersion

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=354627&r1=354626&r2=354627&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pom/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/pom/plugin.jelly Tue Dec  6 16:18:56 2005
@@ -69,7 +69,7 @@
         neededBy="${plugin.artifactId}"/>
 
     <j:set var="xsd"
-        value="${plugin.resources}/xsd/pom-strict-${pom.pomVersion}.xsd"/>
+        value="${plugin.resources}/xsd/pom-strict-${plugin.pomVersion}.xsd"/>
 
     <util:file var="pomAsFile" name="${pom.file.canonicalPath}" />
     <j:if test="${pomAsFile != null}">
@@ -91,7 +91,7 @@
        </j:whitespace>
       </log:warn>
       <j:set var="xsd"
-        value="${maven.home}/maven-project-${pom.pomVersion}.xsd"/>
+        value="${maven.home}/maven-project-${plugin.pomVersion}.xsd"/>
     </j:if>
 
     <log:info>Using xsd file: ${xsd}</log:info>