Hi Margeret, I am seeing similar problem but different scenario. I have added the dependencies to antrun plugin, it runs the ant task but I run the same goal from continuum, it fails with classnot found error..I ran the goal with -X option to see what jars are added to the classpath.. I don't see my dependencies for the mojo when it run from continuum..
Did you come across this problem ? Thanks Gautham On 5/24/06, Margaret Martin <[EMAIL PROTECTED]> wrote:
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- -Gautham Pamu