Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5567

Failed to apply plugin 'de.thetaphi.forbiddenapis' when running ./gradlew build w/ java19

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • avatica-1.23.0, 1.33.0
    • avatica-1.24.0
    • avatica, build
    • OS: arch linux

      JDK: java-19-openjdk

    Description

      Running ./gradlew build on a fresh git clone fails with:

      FAILURE: Build failed with an exception.
      * Where:
      Build file '/home/user/github/apache/calcite/build.gradle.kts' line: 513
      * What went wrong:
      Failed to apply plugin 'de.thetaphi.forbiddenapis'.
      > Could not create plugin of type 'ForbiddenApisPlugin'.
         > Could not initialize class de.thetaphi.forbiddenapis.gradle.ForbiddenApisPlugin
      

      The full output (output.txt) and build.gradle.kts files are attached.

      This is similar to https://issues.apache.org/jira/browse/SOLR-14426 but running ./gradlew clean results in the same error.

      I've tried this on version 1.33 plus several older releases with similar results.

       

      Attachments

        1. output.txt
          46 kB
          Matt P
        2. build.gradle.kts
          40 kB
          Matt P

        Issue Links

          Activity

            People

              Sergey Nuyanzin Sergey Nuyanzin
              mpulver Matt P
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m