You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a sonar-cxx 2.x plugin release which is compatible with a Java 1.8 version on the scanner side?
I have sonar-cxx 2.0.4 version plugin installed on SonarQube 7.9 server. However, my client side environment has Java 1.8.
When I trigger the sonar-scanner, it downloads the plugins from the server, and then stops abruptly throwing an exception saying that "The plugin [cxx] does not support Java 1.8".
I understand that either upgrading my environment to Java 11 or having a parallel Java 11 installation and using it to trigger the scanner will help.
But unfortunately, this cannot be done in some of my client environments.
Hence, I am looking for one of the following options if available:
a) Use a Java 1.8 compatible sonar-cxx plugin version
b) Any mechanism by which I can skip/exclude the sonar-cxx plugin from the scanner side?
c) Any mechanism by which I can control my server to not serve the sonar-cxx plugin when client tries to download it?
Thanks
Rajesh
The text was updated successfully, but these errors were encountered:
a) Use a Java 1.8 compatible sonar-cxx plugin version
The plugin is developed and build with Java 11 dependencies. Only possibility I see is that you fork the plugin and build your own version with Java 8. We have no interest to do this because for SQ 9 Java 11 is also mandatory on scanner side and for most others Java 8 and Java 11 side by side on a PC is no issue (https://docs.sonarqube.org/latest/analysis/analysis-with-java-11/)
b) Any mechanism by which I can skip/exclude the sonar-cxx plugin from the scanner side?
c) Any mechanism by which I can control my server to not serve the sonar-cxx plugin when client tries to download it?
Same as above, I don’t know a solution. It’s also not possible to add a mechanism to the plugin because error happens already before entry point of plugin is called.
Hi sonar-cxx plugin developers,
Is there a sonar-cxx 2.x plugin release which is compatible with a Java 1.8 version on the scanner side?
I have sonar-cxx 2.0.4 version plugin installed on SonarQube 7.9 server. However, my client side environment has Java 1.8.
When I trigger the sonar-scanner, it downloads the plugins from the server, and then stops abruptly throwing an exception saying that "The plugin [cxx] does not support Java 1.8".
I understand that either upgrading my environment to Java 11 or having a parallel Java 11 installation and using it to trigger the scanner will help.
But unfortunately, this cannot be done in some of my client environments.
Hence, I am looking for one of the following options if available:
a) Use a Java 1.8 compatible sonar-cxx plugin version
b) Any mechanism by which I can skip/exclude the sonar-cxx plugin from the scanner side?
c) Any mechanism by which I can control my server to not serve the sonar-cxx plugin when client tries to download it?
Thanks
Rajesh
The text was updated successfully, but these errors were encountered: