|
Actually I forgot that we expose "accepting" the Jandex index via some APIs (org.hibernate.boot.MetadataBuilder#applyIndexView e.g.). So I do not think that we can just make it a provided (non-transitive) dependency.
Another option, perhaps, would be to just bump Hibernate's Jandex version to 2.0. Generally we only bump dependency versions during a major rev (5.1 e.g.). But given that we actually do not use this dependency, I think its ok to do that in 5.0 here.
It's too late to get this into tomorrow's 5.0.2 release. But I will try to get this into the release after that.
|