Skip to content

ICode Plugin Blocking the analysis of a maven project #76

Open
@alok347

Description

@alok347

Hi Team,

I have recently installed Icode-cnes-plugin on sonarqube-7.9 enerprise edition. This was installed as a part of requirement where one of the user wanted to analyse *.sh files for his project. As a part of testing post any plugin installation, i ran a maven analysis for a sample project. The analysis for this maven project failed with the below error:
"Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project maven--test1: The plugin [icode] does not support Java 1.8.0_242: fr/cnes/sonar/plugins/icode/ICodePlugin has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 -> [Help 1]"

Why is icode-cnes plugin used for a maven project where we have java files?

I ran another analysis for a different project which uses flow plugin and it was successful without any errors.
Please look into and kindly advise accordingly.

Note: Java version on the Linux client machine is java-1.8 and java-11. Attached are the screenshots:
icode error
icode success

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions