Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-27999

Run Sonar analysis using Java 17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0
    • None

    Description

      http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-4905/4/pipeline/596/

      CI failed by sonar plugin:

      [2024-01-15T03:58:10.100Z] [INFO] BUILD FAILURE
      
      [2024-01-15T03:58:10.100Z] [INFO] ------------------------------------------------------------------------
      
      [2024-01-15T03:58:10.100Z] [INFO] Total time:  01:07 min
      
      [2024-01-15T03:58:10.100Z] [INFO] Finished at: 2024-01-15T03:58:09Z
      
      [2024-01-15T03:58:10.100Z] [INFO] ------------------------------------------------------------------------
      
      [2024-01-15T03:58:10.100Z] [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project hive: 
      
      [2024-01-15T03:58:10.100Z] [ERROR] 
      
      [2024-01-15T03:58:10.100Z] [ERROR] The version of Java (11.0.8) used to run this analysis is deprecated, and SonarCloud no longer supports it. Please upgrade to Java 17 or later.
      
      [2024-01-15T03:58:10.100Z] [ERROR] As a temporary measure, you can set the property 'sonar.scanner.force-deprecated-java-version' to 'true' to continue using Java 11.0.8
      
      [2024-01-15T03:58:10.100Z] [ERROR] This workaround will only be effective until January 28, 2024. After this date, all scans using the deprecated Java 11 will fail.
      
      [2024-01-15T03:58:10.100Z] [ERROR] -> [Help 1]
      
      [2024-01-15T03:58:10.100Z] [ERROR] 
      
      [2024-01-15T03:58:10.100Z] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      
      [2024-01-15T03:58:10.100Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      

       

      Attachments

        Issue Links

          Activity

            People

              wechar Wechar
              wechar Wechar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: