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:
Remote Links:
Backported to: 4.0.0-alpha-7
0 votes, 8 watchers
Karl Heinz Marbaise opened MNG-6829 and commented
Currently we use
commons-lang3for the following classesStringUtilscan be replaced by usage of eitherplexus-utilsormaven-shared-utilsor as I tested with self implementationSystemUtilsis only used in some tests which can simply replaced by using JUnit Jupiter with all the support it has.Validateis 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 ofmaven-shared-utils.Currently the
StringUtils.substringAfterLast( resourceName, "/" )is used inConsoleMavenTransferListenerAffects: 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