Hi,

I'm starting to use maven to build a fairly complex application which is currently built using Ant; and am having trouble trying to use some custom ant tasks within Maven.

I've listed the jar file containing the tasks as a dependency:

...
<dependency>
   <groupId>solnet</groupId>
   <artifactId>solnetant</artifactId>
   <version>1.1</version>
</dependency>
...

and run our existing ant file using the following maven.xml:
<project default="none" xmlns:j="jelly:core" xmlns:m="maven" xmlns:maven="jelly:maven" xmlns:u="jelly:util">
<goal description="Deploy app" name="deploy">
<ant dir="${basedir}" antfile="buildscripts/build.xml"/>
</goal>
</project>


The ant build starts, but shortly aborts saying it could not find the task defined in this jar. So I guess my question is, is there a way to specify a classpath for extra ant tasks within a maven project?

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



Reply via email to