Ah! I didn't figure out that the dependencies declaration in my deployment affect inter-module interaction. But obviously they do. So now I managed to create an Envers module, and with a Dependencies: org.hibernate.envers services in my manifest, it works.
I had to add the following deps to the module.xml:
<module name="org.hibernate"/>
<module name="org.jboss.logging"/>
<module name="org.dom4j"/>
<module name="javax.api"/>
<module name="javax.persistence.api"/>
<module name="javax.transaction.api"/>
<module name="org.javassist"/>
So it would seem the dependencies are not transitive as all of them are already declared by org.hibernate
Thanks for the help!
Adam
Adam Warski wrote:
So it would seem the dependencies are not transitive as all of them are already declared by org.hibernate
That's correct. Unless explicitly configured through the "export" attribute, the dependencies are not transitive.