On Friday 25 February 2005 08:29, Henrard Frederic wrote:



> On Thursday 24 February 2005 14:50, Lukasz Bajorski wrote:
> > On Thu, 24 Feb 2005 14:26:59 +0100, Henrard Frederic
> > <[EMAIL PROTECTED]> wrote:
> >
> > [snip]
> >
> > > I changed the script according to this :
> > >
> > >     <ant:echo>${plugin.getDependencyPath('junit:junit')}</ant:echo>
> > >    
> > > <ant:echo>${plugin.getDependencyPath('ant:ant-optional')}</ant:echo>
> > >
> > >     <taskdef name="junit"
> > > classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask">
> > > <classpath>
> > >         <pathelement
> > > location="${plugin.getDependencyPath('junit:junit')}"/> <pathelement
> > > location="${plugin.getDependencyPath('ant:ant-optional')}"/>
> > > </classpath> </taskdef>
> > >
> > > but it is the same thing :
> >
> > I don't know if this was already suggested or not but I think I had a
> > similar problem some time ago (with my project based on
> > maven-axis-plugin). Although the plugin had its dependencies declared
> > I had to add them to my project.xml as well. So try adding the
> > dependency for junit (and maybe ant-optional, but since Vincent says
> > it's always in the classpath - maybe not) to your project's pom.
>
> Thank you for your suggestion but I already tested this one.  That does not
> change anything :-{
>
>
> Fr�d�ric
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


I tried to copy ant-optional-1.5.3-1.jar and junit-3.8.1.jar to the 
$MAVEN_HOME/lib/endorsed/ 
directory, it seems that at this place they are found by the plugin...

Fr�d�ric


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

Reply via email to