On Thursday 24 February 2005 09:11, Lukasz Bajorski wrote: > On Wed, 23 Feb 2005 11:51:25 +0100, Vincent Massol <[EMAIL PROTECTED]> wrote: > > > -----Original Message----- > > > From: Henrard Fr�d�ric [mailto:[EMAIL PROTECTED] > > > Sent: mercredi 23 f�vrier 2005 11:15 > > > To: Maven Users List > > > Subject: Re: abbot plugin problem > > > > > > Hi Vincent, > > > > > > I checked what you asked : > > > > > > junit-3.8.1.jar file in local repository is apparently not corrupted, I > > > can > > > open it and extract his content. > > > > > > I tried to remove the cache directory but I have the same problem after > > > the > > > download. > > > > > > Finally, I have checked on another system with Maven 1.0.2 installed > > > but It > > > still the same thing. > > > > Unfortunately I have no other idea for the time being... This is > > something that shouldn't happen and I don't see how it can happen. The > > code that seems to be causing the pb in plugin.jelly is: > > > > <taskdef name="junit" > > > > classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"> > > <classpath> > > <pathelement > > location="${plugin.getDependencyPath('junit:junit')}"/> </classpath> > > </taskdef> > > > > But this is clean and good. > > The problem might be with ant-optional, not junit. Check your > repository for ant-optional-1.5.3-1 (or whatever version your abbot > plugin uses as a dependency - check project.xml in that plugin's jar > or in maven's cache). You may try the same steps as Nicolas here > suggested.
BUILD FAILED File...... /home/fhe/.maven/cache/maven-abbot-plugin-1.0/plugin.jelly Element... taskdef Line...... 58 Column.... 76 taskdef class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found It seems that abbot plugin uses "ant-optional-1.5.3-1" as dependency but this one is also valid. What appears strange, It's the classpath for the referenced taskdef junit is only set with the junit-3.8.1.jar ( not with the ant-optional-1.5.3-1 ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
