Jacek, I'm not sure if any of this info helps..

See recommendations in:
http://maven.apache.org/faq.html#classloader-property

A related note.. be aware of changes coming in maven 1.1...

Bundled Ant version changed from 1.5.3-1 to 1.6.5 
While in most cases this change should be transparent, those using 
optional tasks will need to add them as a dependency to their 
plugin/project, as not all optional tasks are bundled with Maven any more. 


John

Jacek Laskowski <[EMAIL PROTECTED]> wrote on 13/07/2005 06:31:51 PM:

> Hi,
> 
> I'm working on a CMP2 itest case and today I'm facing a trouble with 
> BUILD FAILED because of missing JUnitTask. So, here goes two questions:
> 
> 1/ Why does the itest plugin explicitly define taskdef (line 106) 
> instead of use junit without it?
> 
> 2/ Why am I getting this? Neither the plugin nor itests module define it 

> as a dependency, probably because it's already in Maven's lib directory 
> which again leads to the question about declaring it explicitly?
> 
> BUILD FAILED
> File...... C:\Documents and 
> Settings\XXX\.maven\cache\maven-itest-plugin-1.0\plugin.jelly
> Element... taskdef
> Line...... 108
> Column.... 85
> taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask 
> cannot be found
> Total time: 1 minutes 28 seconds
> Finished at: Wed Jul 13 10:05:53 CEST 2005
> 
> Jacek

Reply via email to