> I was never expecting that maven is using it's own ANT !

Its not "using its own Ant." It simply does not use the Ant that you
previously installed but rather uses the Ant jars directly from its
cache.

> Now with maven it just did not work and the reason why is: "Maven uses it's
> own ANT lib files !!!"
>
> I was not expecting that maven reinvents the wheel.

It doesn't. This is a failure of your understanding of how Maven works.

> So then - be it as it is --- how can we enforce maven to use a particular
> installed ANT version and not use the maven-internal ANT ?

You simply need to "release" your own version of Ant using a specific
version eg 1.8-JOSEPH and then specifically depend on that version in
your Maven pom. You probably want to lock down the version with
<version>[1.8-JOSEPH]</version> to prevent Maven from helpfully using
a different version. You could use a "real" version like 1.8.2 but
realize that **will** cause problems in the future if/when Ant
releases their own version 1.8.2 jars.

Deploy your Ant version to your Repo Manager (assuming you are using
Nexus et al) and you should be all set.

Wayne

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

Reply via email to