When the user is running on codeanalyzer on maven project, codeanalyzer raises an illegal state exception when gradle is not installed. This must not happen because the user can't be expected to have gradle install when they are using maven.
Steps to reproduce:
- Make sure you don't have gradle installed in your machine:
gradle -v
zsh: command not found: gradle
- Try to run the code analyzer over a maven project, which does not have any gradle file. For example, you can use
https://github.ibm.com/was-svt/erww-lite or any other maven project.