[hibernate-dev] Fwd: Re: [jboss-as7-dev] Modules and hidden packages
Hardy Ferentschik
hardy at hibernate.org
Thu Apr 4 17:43:01 EDT 2013
On 4 Jan 2013, at 11:39 PM, Gunnar Morling <gunnar at hibernate.org> wrote:
> Hi,
>
> 2013/4/3 Hardy Ferentschik <hardy at 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.
--Hardy
More information about the hibernate-dev
mailing list