Author: aheritier Date: Tue Sep 20 06:37:06 2005 New Revision: 290450 URL: http://svn.apache.org/viewcvs?rev=290450&view=rev Log: We can't use the tag plugin:xml-validate in the bootstrap because the class is not yet compiled.
Modified: maven/maven-1/plugins/trunk/plugin/plugin.jelly Modified: maven/maven-1/plugins/trunk/plugin/plugin.jelly URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/plugin/plugin.jelly?rev=290450&r1=290449&r2=290450&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/plugin/plugin.jelly (original) +++ maven/maven-1/plugins/trunk/plugin/plugin.jelly Tue Sep 20 06:37:06 2005 @@ -32,14 +32,17 @@ <define:taglib uri="plugin"> - <define:jellybean - name="validate-xml" - className="org.apache.maven.JaxpMsvBean" - method="validate"> - <!-- @schema : The schema to validate against (full path) --> - <!-- @file : The file to be validated (full path) --> - </define:jellybean> - + <!-- We can't use it in the bootstrap phase because classes aren't yet build for the plugin --> + <j:if test="${bootstrapping == null}"> + <define:jellybean + name="validate-xml" + className="org.apache.maven.JaxpMsvBean" + method="validate"> + <!-- @schema : The schema to validate against (full path) --> + <!-- @file : The file to be validated (full path) --> + </define:jellybean> + </j:if> + <define:tag name="uninstall"> <ant:delete verbose="false" failonerror="false"> <ant:fileset dir="${maven.plugin.dir}"> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]