Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICode Plugin Blocking the analysis of a maven project #76

Open
alok347 opened this issue Jan 21, 2021 · 1 comment
Open

ICode Plugin Blocking the analysis of a maven project #76

alok347 opened this issue Jan 21, 2021 · 1 comment

Comments

@alok347
Copy link

alok347 commented Jan 21, 2021

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

@begarco
Copy link
Contributor

begarco commented Jan 21, 2021

Hi @alok347,

Since version 2.0.0 we support Java 11 to follow sonar-scanner evolution.

If sonar-icode-cnes-plugin is trigerred it is because you have a file whose extension matches with the list of supported one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants