gabrie-allaigre / sonar-gitlab-plugin

Add to each commit GitLab in a global commentary on the new anomalies added by this commit and add comment lines of modified files
GNU Lesser General Public License v3.0
713 stars 208 forks source link

Question about preview mode after 7.7 version #269

Open Marysays opened 4 years ago

Marysays commented 4 years ago

Preview has been removed from versions after 7.7. What if you are using later versions. Is there another alternative? Will plug-ins support it later?

kortov commented 4 years ago

I guess this plugin is not actively maintained now. There is a working PR here in comments you can find url for a jar, and you'll find that PR " works with either SonarQube Developer Edition or SonarQube Community with Sonar Community Branch plugin installed "

xuesonbw commented 3 years ago

I guess this plugin is not actively maintained now. There is a working PR here in comments you can find url for a jar, and you'll find that PR " works with either SonarQube Developer Edition or SonarQube Community with Sonar Community Branch plugin installed "

It's an embarrassing situation that I'm using version 7.8. I have tried that it can't work with "preview mode",and it also can't work with the PR you mentioned here because the PR need 7.9.1. I just want to know that do I need to change the version to 7.7? Now on 7.8 this plugin can't work. when I use command mvn --batch-mode verify sonar:sonar it shows [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli) on project SMParser: com.talanlabs.sonar.plugins.gitlab.CommitPublishPostJob has unsatisfied dependency 'class com.talanlabs.sonar.plugins.gitlab.ReporterBuilder' for constructor 'public com.talanlabs.sonar.plugins.gitlab.CommitPublishPostJob(com.talanlabs.sonar.plugins.gitlab.GitLabPluginConfiguration,com.talanlabs.sonar.plugins.gitlab.SonarFacade,com.talanlabs.sonar.plugins.gitlab.CommitFacade,com.talanlabs.sonar.plugins.gitlab.ReporterBuilder)' from org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@1a3b1f7e:392<[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@6a9ddb5a:55<| -> [Help 1]

Thanks for your help!