Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8146

Drop use of commons-lang

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.9.8
    • Dependencies
    • None

    Description

      Maven 4 already did this. By introspection, it turns out that 3.9 is also very lightly use commons-lang, while it in fact represents quite noticeable overhead of the ZIP distro size (10% almost). Without commons-lang Maven 3.9.x distro is 9MB only.

      Moreover, the presence of commons-lang just introduced some peculiarities:

      • confusion over StringUtils (vs Plexus Utils StringUtils)
      • skewed param validation: according to commons-lang string "2." is not a valid float, while Float.parseFloat nicely parses it into 2.0 (see MNG-7756)
      • PR ended up with same LOC but noticeable smaller ZIP distro, meaning not much was really used out of it 

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: