I\'m trying to upload a file using an Ant task. If I use Ant directly the file is uploaded, but if I call the ant task via Maven (using the maven-antrun-plugin)
maven-antrun-plugin
There is a classpath property which can be set in section of maven-antrun-plugin.
classpath
For instance,