Please use whatever version of Ant we have defined in the JBoss Integration Parent POM:

https://github.com/jboss-integration/jboss-integration-platform-bom/blob/master/pom.xml#L159