[infinispan-issues] [JBoss JIRA] (ISPN-9253) Integrate Forbidden API maven plugin

Galder Zamarreño (JIRA) issues at jboss.org
Fri Jun 1 08:17:00 EDT 2018


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-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
{code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list