Details
-
Task
-
Resolution: Obsolete
-
Major
-
None
-
None
-
None
Description
Integrate Forbidden APIs maven plugin:
Sanne Grinovero: regarding System.out, and org.junit vs junit.framework, or importing the wrong @Immutable annotation.. introduce Forbidden APIs plugin? https://github.com/hibernate/hibernate-search/blob/master/pom.xml#L1593-L1676 ... Sanne Grinovero: Also, this one is amazingly fast (just takes ~1s to scan our whole codebase) and includes very updarules to e.g. Sanne Grinovero: And includes rules like "don't use methods removed in JDK11" Sanne Grinovero: @Tristan it's easy to customize too: https://github.com/hibernate/hibernate-search/blob/master/build-config/src/main/resources/forbidden-runtime.txt