-
Notifications
You must be signed in to change notification settings - Fork 36
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
Deprecated API on Sonar 7 #131
Comments
Hi all, I'm having the same issue and I can not execute any analysis for Apex projects since we are using Version 7 of SonarQube. Thank you |
Hi rmartinezffdc, The workaround we are using is removing the 'setPersistenceMode(PersistenceMode.MEMORY)' and rebuild the jar. Then place it under sonarQube plugin folder. It works fine. Thank you |
I've looked into this and in order to correct we need to pull and make the appropriate modifications dictated by the new API and build the jar again. Once I have some time I might execute and make the contribution |
As current apex plugin is not compatible with 7.x, go back to 6.7.5 until this fundacionjala/enforce-sonarqube-plugin#131 is solved.
Hi team,
We just upgrade the sonar server to 7. And met some error while analysis our project.
java.lang.NoClassDefFoundError: org/sonar/api/measures/PersistenceMode
After some investigation, just found the "PersistenceMode" has been deprecated.
Class: ApexSquidSensor
method:
Could you just update this on your code?
Thank you
Best regards
The text was updated successfully, but these errors were encountered: