Passing your Maven classpath to Ant:
In your pom.xml, configure something like this:
In your build.xml, have something like:
The path that maven is using should now be assigned to "runtime-classpath".
This is very useful for calling a custom ant task, when the definition is in your maven classpath.