We have seen quite a few options of the jdeps command. There are a few more related to filtering the dependencies and filtering the classes to be analyzed. Apart from that, there are a few options that deal with module paths.
The following are the options that can be tried out:
- -e, -regex, --regex: These find dependencies matching the given pattern.
- -f, -filter: These exclude dependencies matching the given pattern.
- -filter:none: This allows no filtering applied via filter:package or filter:archive.
- -filter:package: This excludes dependencies within the same package. This is the default option. For example, if we added -filter:none to jdeps sample.jar, it would print the dependency of the package to itself.
- -filter:archive ...