Support for Java 17 fortifydocker/fortify-ci-tools

Is it safe to assume that  as of yet fortifydocker/fortify-ci-tools does not support projects built with Java 17 ?

(hence the errors I am getting during compilation that the maven plugin is failing because of unsupported Java 17?)

I want to make sure before I go through the trouble of downgrading the runtime of the apps I am trying to perform SCA against in my build pipeline

#gitlab.yml file
    - sca
    - build
    - deploy

    image: fortifydocker/fortify-ci-tools:3-jdk-11
    stage: sca
        - echo "" | tee -a /etc/hosts
        - mkdir -p /opt/Fortify/ScanCentral/Core/config
        - touch /opt/Fortify/ScanCentral/Core/config/
        - echo client_auth_token=loctest > /opt/Fortify/ScanCentral/Core/config/
        - scancentral -url "" start -bt mvn -upload -application "build-demo2" -version "1.0.0" -uptoken $CIToken -log-file build-demo2.log 

#Build Failure logs from GitLab Runner

Downloaded from central: (23 kB at 242 kB/s)
[INFO] Changes detected - recompiling the module! :dependency
[INFO] Compiling 2 source files with javac [debug release 17] to target/classes
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.581 s
[INFO] Finished at: 2023-07-04T19:19:14Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project build-demo2: Fatal error compiling: error: release version 17 not supported -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
Error generating scan specification
Command execution failure
Shutting down with errors. Please see log for details.
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1

Parents Reply Children