Migrating to Maven 2 for release builds and documentation. Ant builds will still be supported. First step is move files into Maven Standard Directory Layout.
The current versions uploaded to Maven Central repository contain dependency on ant:ant:1.5.
May I ask that next version declares this dependency as optional ?
The reason is that, most projects currently use ant versions >1.7. These versions are released with groupId=org.apache.ant and therefore Maven's dependency conflict resolution has no chance to select the right version - resulting in having both versions of ant on single classpath.
I guess it's not necessary to explain that it causes troubles.
Currently the only workarround is, to exclude ant:ant from the ant-contrib dependency; but it's easy to forget.
Log in to post a comment.