Galder Zamarreño created ISPN-9253:
--------------------------------------
Summary: Integrate Forbidden API maven plugin
Key: ISPN-9253
URL:
https://issues.jboss.org/browse/ISPN-9253
Project: Infinispan
Issue Type: Task
Components: Build
Reporter: Galder Zamarreño
Integrate Forbidden APIs maven plugin:
{code}
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-L...
...
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/sr...
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)