maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Margaret Martin" <Margaret.Mar...@novusedge.com>
Subject RE: Classpath in ant scripts in an Ant mojo
Date Wed, 24 May 2006 15:39:56 GMT
Willie,
I've found that if I make the task's jars dependencies on the antrun
plugin, then the taskdefs resolve just fine.

Hope this helps -
-margaret

-----Original Message-----
From: willievu@gmail.com [mailto:willievu@gmail.com] On Behalf Of Willie
Vu
Sent: Wednesday, May 24, 2006 3:02 AM
To: users@maven.apache.org
Subject: Classpath in ant scripts in an Ant mojo

I'm using Maven 2.0.4.  I am developing a plugin using Ant script.  A
task is declared using <taskdef>.  The task class is contained in one
of the artifacts of the pom.xml of the project that uses this Ant mojo
plugin.  An error occurred that the task class is not found.  It seems
like Maven doesn't resolve and pass dependency classpath to the Ant
script.  Any idea?

-- 
Willie Vu

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


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


Mime
View raw message