I have eclipse mars2 with sonarLint 2.1. I try to connect to a SonarQube Server 5.1.2
When I try to connect via the eclipse GUI, the following error occurs:
The following plugins do not meet the required minimum versions, please upgrade them: java (installed: 3.0, minimum: 3.8)
Do you have any ideas? Thank you guys!
In Intellij — Go to File >> Plugins >> Type 'SonarLint' >> Install and Restart IDE. (2) we can choose the SonarQube rules. → To integrate SonarQube(server) and SonarLint in our IDE and run SonarQube code inspection rules per class to give results quickly. Add the sonarQube connection binding.
You need to open Settings window and find Tools > SonarLint there. Then you press the plus button and you will have connection wizard that will ask you all necessary data to configure connection. You will need URL of SonarQube server and login-password pair or token for authorization.
SonarLint is YOUR Code Quality & Code Security tool. SonarQube is YOUR TEAM's Code Quality & Code Security tool. You and your team align to collectively own code quality and accelerate delivery. Imagine everyone on your team being on the same code quality page!
SonarLint is now configured globally within VS Code to access SonarQube via the specified connectionId. Next, we need to configure your project workspace to allow it to scan the appropriate SonarQube project. Go back onto your SonarQube server and grab the project key. This can be found on the project page on the bottom right of the page.
SonarLint is more than just a linter. With Connected Mode, your SonarQube configuration and settings are extended to SonarLint giving you consistent, reliable analysis results. Positively impact code quality even sooner than PR review
SonarLint will try to validate the server's SSL certificate using the JVM's truststore. So if your SonarQube server uses an SSL certificate, you might need to install the CA certificate in the trustore of the JVM used by IntelliJ.
This post is part of the SonarQube series. You can find the other parts here: Why SonarLint? SonarLint integrates the checks of SonarQube right into Visual Studio (and Eclipse, Atom and VS Code). If you want to know if there are any quality problems with your code, you no longer need to leave your IDE.
The plugin the message is referring to is the Sonar Java Plugin. Log in to Sonar as admin, go to Administration/System/Update Center and you'll see that the current installed plugin version is 3.0. Update it to the newest version available and it should work.
[Edit] - The upgrade is triggered by just clicking the button, but after it is downloaded and installed, you'll have to restart the Sonar server.
Another option is to downgrade to an older version of the plugin:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With