Hi,

I have a custom maven goal which uses the ant task <ant:xmlvalidate> to validate a set of XML files:

  <goal name="validate-all-xml-files"
        description="Validates whether all xml files are well-formed">

      <ant:xmlvalidate failonerror="false" lenient="yes">
          <fileset dir="$.">
              <include name="**/*.xml"/>
          </fileset>
      </ant:xmlvalidate>
  </goal>

It works fine with maven-1.0.2 but it fails with maven-1.1-beta2 (and java 5) without
any error message. The output is:
    __  __
   |  \/  |__ _Apache__ ___
   | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
   |_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2
build:start: validate-all-xml-files: <xmlvalidate failonerror="false" lenient="yes"></xmlvalidate>BUILD SUCCESSFUL
   Total time   : 2 seconds
   Finished at  : Donnerstag, 4. Mai 2006 10:31:16 CEST
The output of "maven -x validate-all-xml-files" contains the line

(org.apache.tools.ant.taskdefs.optional.XMLValidateTask) for type xmlvalidate
  [DEBUG] Could not load class

Any hints?

Thanks,

Alex



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to