Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0
-
None
-
None
-
None
-
N/A
Description
A search of the code in commons-cli 1.0 shows that CLI (rightly) doesn't do any logging, but just raises exceptions when things go wrong. However, the pom.xml states that commons-logging is a dependency, which isn't true. Instead of making users manually exclude commons-logging, it should be removed from the pom.xml.
I hope that future versions will continue to be free from logging, as it's completely unnecessary for such a simple and elegant library. There's just no reason that a simple argument parser should ever need to log its status, except perhaps while fixing a bug--but those statements would be unlikely to be useful again and are better removed.