Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#211 Migrate to Maven 2 for build

open
Curt Arnold
cpptasks (103)
5
2007-07-25
2007-07-25
Curt Arnold
No

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.

Discussion

  • Petr Kozelka
    Petr Kozelka
    2010-11-12

    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.