In order to be OSGI compliant hibernate-validator-cdi must contains OSGI mandatory headers (Bundle-SymbolicName, ...) and declare providing Capabilities (for example see Pax-CDI declaration here: https://ops4j1.jira.com/wiki/display/PAXCDI/Requirements+and+Capabilities).
I think there should be a little refactor to do on hibernate-validator as some validator-cdi depends on 'private' classes. org.hibernate.validator.internal.engine, org.hibernate.validator.internal.util, org.hibernate.validator.internal.util.classhierarchy, org.hibernate.validator.internal.util.logging
And maybe some split-packages (HibernateValidator class is present on the two bundles at the same place).
Regards,
|