Skip to content

[MNG-6829] Remove commons-lang3 dependency #8458

@jira-importer

Description

@jira-importer

Karl Heinz Marbaise opened MNG-6829 and commented

Currently we use commons-lang3 for the following classes

  • StringUtils can be replaced by usage of either plexus-utils or maven-shared-utils or as I tested with self implementation

  • SystemUtils is only used in some tests which can simply replaced by using JUnit Jupiter with all the support it has.

  • Validate is a precondition class which checks for parameters etc. can be implemented very easily (done already to see how it works). Later this could be made part of maven-shared-utils.

  • Currently the StringUtils.substringAfterLast( resourceName, "/" ) is used in ConsoleMavenTransferListener


Affects: 3.6.3

Attachments:

This issue is a sub-task of MNG-6825

Issue Links:

  • MNG-5649 Use Commons Lang's Validate to intercept invalid input

  • MNG-6840 Upgrade commons-lang3 to 3.12.0

Remote Links:

Backported to: 4.0.0-alpha-7

0 votes, 8 watchers

Metadata

Metadata

Assignees

Labels

priority:minorMinor loss of function, or other problem where easy workaround is present

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions