We can't use the tag plugin:xml-validate in the bootstrap because the class is not yet compiled.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@290450 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ab9d2b9147
commit
4594db5978
@ -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}">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user