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. > > --Hardy > > On 3 Jan 2013, at 6:12 PM, Hardy Ferentschik <ha...@hibernate.org> wrote: > > > Something like this should work: > > > > <exports> > > <exclude name="**/internal/**"/> > > </exports> > > > > On 3 Jan 2013, at 6:03 PM, Gunnar Morling <gun...@hibernate.org> wrote: > > > >> Do you have some details or an example how this is done? > >> > >> For HV, we consider everything under org.hibernate.validator.internal as > >> private (and e.g. handle it like this in the OSGi manifest), so it would > >> make sense to do the same for the AS module. > >> > >> --Gunnar > > > > _______________________________________________ > > hibernate-dev mailing list > > hibernate-dev@lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/hibernate-dev > > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev