Sometimes it's written i given libs docs.
Good way might be to check given project's maven artifact's pom.xml. Although these sometimes include optional sttuff without note.
Also, you can check includes in java files.
Fixing cnfex is always the last but certain fallback :)