In particular check that we don't expose implementation types or SPIs through our APIs. I know we currently do, so this will have to be a soft check for now, mainly for information.
We already have something in Hibernate Validator using jqassistant, and apparently it works pretty well. Maybe start from there?
Lost half a day on this, I'm going to postpone it.
The plugin works great, see this branch: https://github.com/yrodiere/hibernate-search/tree/HSEARCH-3031
... except there is a bug related to parsing XML files with comments which essentially prevents us from running the plugin on any Maven module containing a persistence.xml test resource: https://github.com/buschmais/jqa-xml-plugin/issues/4
So let's wait for jqassistant 1.4, which should solve the issue.
Making progress, but we're not there yet. jqassistant 1.4.0 works better, but there is still a bug: https://github.com/buschmais/jqa-maven-plugin/issues/18
jqassistant 1.5.0 seemingly solves the problem, but hasn't been released yet.
Let's wait... again...
Duplicates HSEARCH-3302, which was fixed a long time ago in version 6.0.