Skip to content
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

Plugin does not work with SonarQube 7.4 #55

Closed
jensgerdes opened this issue Oct 29, 2018 · 1 comment
Closed

Plugin does not work with SonarQube 7.4 #55

jensgerdes opened this issue Oct 29, 2018 · 1 comment
Assignees
Labels

Comments

@jensgerdes
Copy link
Collaborator

It seems that the current version of SonarQube 7.4 has removed support for deprecated constructor arguments used in PmdProfileExporter due to which the plugin fails to load:

Unable to load component class org.sonar.plugins.pmd.PmdExecutor: 
org.sonar.plugins.pmd.PmdExecutor has unsatisfied dependency 
'class org.sonar.plugins.pmd.profile.PmdProfileExporter' for constructor 
'public org.sonar.plugins.pmd.PmdExecutor(org.sonar.api.batch.fs.FileSystem,org.sonar.api.profiles.RulesProfile,org.sonar.plugins.pmd.profile.PmdProfileExporter,org.sonar.plugins.pmd.PmdConfiguration,org.sonar.plugins.java.api.JavaResourceLocator,org.sonar.api.config.Configuration)' 
...
@jensgerdes jensgerdes added the bug label Oct 29, 2018
@jensgerdes jensgerdes self-assigned this Oct 29, 2018
@jensgerdes
Copy link
Collaborator Author

SonarSource has removed the @ScannerSide annotation from class ProfileExporter. Due to that missing annotation, the class PmdProfileExporter could not be instantiated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant