Description
It would be a good choice based on my point of view that you move the CLI and GUI parts into separate modules. This will separate the CLI/GUI parts from the real library parts.
This would result in the following structure:
Root
+--- CLI
!
+--- GUI
!
+--- LIB
The LIB represents the real Tika-Framework which can be used by any other application without having integrated of any classes of GUI/CLI which a not needed.