> If I run the ant script directly ie "ant send-email-notification" it works
> fine. I have the mail and activation jars in the ANT_HOME/lib directory.

Maven does not use the Ant installed in ANT_HOME. Instead, it
downloads its own copy of the Ant jars into the local repo cache under
~/.m2 and uses them. So it doesn't really matter what you've done to
ANT_HOME. Instead, you'll need to specify the proper <dependencies>
inside the <plugin> node for the maven-antrun-plugin.

Refer to the documentation for more help:
http://maven.apache.org/plugins/maven-antrun-plugin/examples/customTasks.html

Wayne

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

Reply via email to