On 4 Jan 2013, at 11:39 PM, Gunnar Morling <gun...@hibernate.org> wrote:

> Hi,
> 
> 2013/4/3 Hardy Ferentschik <ha...@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


_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to