Open tyutyutyu opened 3 years ago
@tyutyutyu Thank you for submitting an issue, I did not see it: sorry for the delay. I will try this and release a fix in the upcoming days if possible.
@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, I have done some modifications here, but I have to test those updates with all supported versions of SonarQube. So it remains some steps to be able to release the new version. I'll do my best to release it as soon as possible
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: