Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-317

Version conflict on dependence for commons-collections

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.4, 1.5
    • None
    • Build
    • None
    • Seen on Windows XP but should be platform independant

    Description

      Based on the pom.xml files:
      commons config (1.4 and 1.5) depends on commons colletions ** 3.2 ** and on commons-beanutils 1.7
      Unfortunately commons-beanutils 1.7depends on commons-collection ** 2.0 **

      I know this kind of jar version clash is not unusual with java/Maven. I know also we can fix it with <dependencyManagement> instruction in maven.
      However, i experienced trouble when using the assembly:assembly project, which does not seem to take into account my <dependencyManagement>.

      But as all these project are coming from apache-commons, I think it would be nice if they all fit together, with a coherent version choice. Probably just uprading beanutils so that it depends on commons-collection 3.2 would work and solve this (I didn't test that)

      i consider this issue as a general comment on common, to have better version management, possibly using ranges (for example if beanutils has been tested succesfully with commons-collections from 2.0 to 3.2)

      What do you think?

      Cheers and thanks for all the work and tools you gave us
      Olivier

      Attachments

        Activity

          People

            Unassigned Unassigned
            ovierlinck Olivier Vierlinck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: