-
Notifications
You must be signed in to change notification settings - Fork 24
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
SonarQube 9 - class not found: WstxInputFactory #52
Comments
@tyutyutyu Thank you for submitting an issue, I did not see it: sorry for the delay. |
@Tony-Proum do you have any updates for this?, I'm using the plugin but with sonar-scanner cli and adding the plugin to the pom file doesn't work |
Hi, |
Any ideas on the next release date with this fix? |
We have tried the workaround but still facing the issue. Any update on this? Thanks! |
The workaround needs to be applied in the root pom under "build/pluginManagement/plugins" section, otherwise sonar analysis will use the default settings and ignore any custom plugin definitions if defined in sub-module. |
Since SonarQube 9 the sonar-plugin-api doesn't depend on the woodstox-core-lgpl library so the
mvn sonar:sonar
command is failing.Maven error message
Stack trace
Environment
Workaround
Adding the missing dependency to the sonar-maven-plugin in the analyzed project's pom.xml solves the problem:
The text was updated successfully, but these errors were encountered: