My maven java project uses the maven-antrun-plugin to execute a deploy.xml ant script that deploys my app. The deploy.xml uses the task and this seem
OK, I've solved it.
Moving the dependencies out of the tag and putting them in with the other project dependencies seems to have done the trick.