maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrard Frederic <fhenr...@caami-hziv.fgov.be>
Subject Re: abbot plugin problem
Date Fri, 25 Feb 2005 07:22:38 GMT
On Thursday 24 February 2005 14:50, Lukasz Bajorski wrote:
> On Thu, 24 Feb 2005 14:26:59 +0100, Henrard Frederic
> <fhenrard@caami-hziv.fgov.be> 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.

-- 
CAAMI-HZIV
ICT Department - Middleware & development

30 rue du Trone
1000 Bruxelles
Tel 	: 0032 2 504 66 09
E-Mail	: fhenrard@caami-hziv.fgov.be

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message