Search code examples
pluginsfortify

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details


I took refrence from : Generating Fortify report in maven

but invoking : mvn sca:scan

throws below error :

Unable to load build session with ID XXXXX .. See log file for more details. [ERROR] Error invoking sourceanalyzer. Exit code: 1. Verify your project settings and your SCA installation.

I tried looking around various posts , but no luck.

Could someone please advise.


Solution

  • Directly running "mvn sca:scan" will not work. The following needs to be executed before "mvn sca:scan""

    mvn sca:translate