2013/4/4 Hardy Ferentschik <hardy(a)hibernate.org>
On 4 Jan 2013, at 11:39 PM, Gunnar Morling <gunnar(a)hibernate.org> wrote:
> Hi,
>
> 2013/4/3 Hardy Ferentschik <hardy(a)hibernate.org>
> Or probably more something like that:
>
> <resources>
> <resource-root path="hibernate-validator-5.0.0.Final.jar" >
> <filter>
> <exclude path="org/hibernate/validator/internal/**" />
> </filter>
> </resource-root>
> </resources>
>
> in module.xml that is.
>
> Filtering/excluding paths from the resource root effectively makes these
classes unavailable. Doing so gives me NoClassDefFoundErrors on the
internal classes. But excluding "org/hibernate/validator/internal/**" from
the exports works.
Ok, that's how it works then :-) The documentation to this xml files is
sparse to non existent :-(
One is basically left to piecing things together using various forum posts.
Yes, unfortunately that's right. I found
https://docs.jboss.org/author/display/MODULES/Module+descriptors useful,
though it doesn't answer all questions. One doesn't get around some trial
and error.
--Hardy