recently, I was trying to recompile postgresql jdbc driver (ver. 1201) in Fedora Linux from source codes.
I had troubles with maven-ant-tasks package. Fedora forbids installation from binary files ( ./lib/*.jar ) so we aren't using them. The package maven-ant-tasks is not available in current release of Fedora. According to the commit message [1] is the package retired because its incompatibility with Maven 3. The Maven 2 is still present, but it is already after its End of Life [2].
It would be nice, if you can remove dependency on maven-ant-tasks.
I was trying to create an patch, but my java skills are limited )-; I suppose this commit [3] is best place to start.