Maven 1
  1. Maven 1
  2. MAVEN-578

Synchronise the various dependency versions across core + maven plugins

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-rc1
    • Fix Version/s: 1.0-rc1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      1

      Description

      We currently have plugins that depend on a variety of different versions of dom4j, xerces etc. At least 3 different versions of xerces are required to support maven.

      At 2M / download this is clearly wasteful and undesirable.

      I propose that we synchronise these versions. It is unlikely that it will cause any damage and is just an artifact of progress / different committers

      1. deps.txt
        5 kB
        Alexei Barantsev

        Activity

        Hide
        Alexei Barantsev added a comment -

        List of duplicated dependencies with various versions

        Show
        Alexei Barantsev added a comment - List of duplicated dependencies with various versions
        Hide
        Alexei Barantsev added a comment -

        Not all the size optimizations are equally effective. The attached list contains information about sizes of external libraries used as dependencies.

        The following optimizations are most effective:

        1. Moving all to the same version of ant saves ~2.1M
        2. Moving castor and ashkelon to the same version of castor saves ~1.5M
        3. Moving all to the same version of dom4j saves ~0.9M
        4. Moving all to the same version of log4j saves ~0.9M
        5. Moving all to the same version of xalan saves ~0.9M
        6. Moving all to the same version of xerces saves ~3.6M

        Other optimizations all together saves ~1.8M

        Show
        Alexei Barantsev added a comment - Not all the size optimizations are equally effective. The attached list contains information about sizes of external libraries used as dependencies. The following optimizations are most effective: 1. Moving all to the same version of ant saves ~2.1M 2. Moving castor and ashkelon to the same version of castor saves ~1.5M 3. Moving all to the same version of dom4j saves ~0.9M 4. Moving all to the same version of log4j saves ~0.9M 5. Moving all to the same version of xalan saves ~0.9M 6. Moving all to the same version of xerces saves ~3.6M Other optimizations all together saves ~1.8M
        Hide
        dion gillard added a comment -

        I've done most of these.

        Show
        dion gillard added a comment - I've done most of these.
        Hide
        dion gillard added a comment -
        Show
        dion gillard added a comment - See new report: http://maven.apache.org/dependency-convergence-report.html
        Hide
        dion gillard added a comment -

        Other than httpclient and dbcp this is done.

        Show
        dion gillard added a comment - Other than httpclient and dbcp this is done.
        Hide
        Brett Porter added a comment -

        this is really an ongoing task to watch now, not an "issue". Just check the multiproject report before release.

        Show
        Brett Porter added a comment - this is really an ongoing task to watch now, not an "issue". Just check the multiproject report before release.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ben Walding
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 hour
              1h
              Remaining:
              Remaining Estimate - 1 hour
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified