Skip to content

[MNG-8146] Drop use of commons-lang #9698

@jira-importer

Description

@jira-importer

Tamas Cservenak opened MNG-8146 and commented

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 

Remote Links:

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions