Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9253

Integrate Forbidden API maven plugin

    XMLWordPrintable

Details

    • Task
    • Resolution: Obsolete
    • Major
    • None
    • None
    • Build
    • 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
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: