Always prefer the functionality built into Java in favor of Apache Commons/Lang/Codec etc.
You can check the effective dependency tree: mvn dependency:tree -Dscope=compile
mvn license:update-file-header
If you add or remove dependencies then don't forget to run
mvn license:add-third-party
to update the file: LICENSE.3RD-PARTY