Dependencies between jars

Does anyone know if intellij can check dependencies between different jar packages? I have source code splitted up in different directories on my harddisk. every directory is compiled to a single jar-file. i tried jdepend and javancss but both tools only check for dependencies based on packages. for me it is important to know if there are cyclic dependencies between the different directories. the classes in one jar may depend on the classes in another jar. but the classes of the second jar must not depend on the classes in the first jar.

can intellij do this or is there any tool that is able to check this?