Adding the headers is no problem but I'm not so sure about the suggested refactoring.
The HV engine module and the CDI module are developed as part of one code base and I would not like to have redundancies between the two just to satisfy some technology. Not sure, maybe it would help to make the CDI module could be a fragment bundle of the engine bundle? I think Equinox has some concept of "friend" bundles, I don't know though whether OSGi has something comparable.
Regarding the split package I'm not sure I'm following. Indeed here are two types named HibernateValidator, but they are in different packages?
|