Your junit jar is not on the "root" class loader. You need to set this in your dependency/property element.

YAY! yep that works, cheers Dion.


after all that, all I needed was a single dependency (presumably because the ant deps are always available)

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
       <properties>
        <classloader>root</classloader>
      </properties>
    </dependency>

and no classpath in the junit taskdef

      <taskdef name="junit"
        classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>







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



Reply via email to