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

How to solve "The SonarQube plugin declaring this property should be updated" #1775

Closed
Lenegred opened this issue Dec 12, 2019 · 6 comments · Fixed by #1782
Closed

How to solve "The SonarQube plugin declaring this property should be updated" #1775

Lenegred opened this issue Dec 12, 2019 · 6 comments · Fixed by #1782
Assignees
Labels
Milestone

Comments

@Lenegred
Copy link

I have met a problem at using ths plugin sonar-c-plugin-1.3.1.1807.jar .

When the jenkins start analyzing prossess,this problem will happen as follow logs.

WARN: Property 'sonar.c.includeDirectories' is not declared as multi-values/property set but was read using 'getStringArray' method. The SonarQube plugin declaring this property should be updated.
WARN: Property 'sonar.c.forceIncludes' is not declared as multi-values/property set but was read using 'getStringArray' method. The SonarQube plugin declaring this property should be updated.
WARN: Property 'sonar.c.cFilesPatterns' is not declared as multi-values/property set but was read using 'getStringArray' method. The SonarQube plugin declaring this property should be updated.

The prossess seized up.

What should I to do ? Logs tell me to update this plugin.But the version 1.3.1 is the lastest.

Thanks.

@guwirth guwirth self-assigned this Dec 12, 2019
@guwirth
Copy link
Collaborator

guwirth commented Dec 12, 2019

Hi @Lenegred,

thanks for the feedback. This issue is known and because of SQ API changes. This warnings is to update the plugin code but should have no impact on the functionality. With next plugin release (supports SQ 7.9 LTS only) we have to clean-up/remove all deprecated APIs.

Regards,

@cheskos
Copy link

cheskos commented Feb 23, 2022

I'm still seeing this in Feb 2022 on an Android project with Sonar plugin v3. Is that expected?

@guwirth
Copy link
Collaborator

guwirth commented Feb 24, 2022

@cheskos what do you mean with V3? Which versions of the cxx plugin and SonarQube are you using?

@atipal
Copy link

atipal commented Mar 17, 2022

I see these warnings too. I have sonarqube plugin version 3.3.

Access to the multi-values/property set property 'sonar.java.binaries' should be made using 'getStringArray' method. The SonarQube plugin using this property should be updated. |  
  | Access to the multi-values/property set property 'sonar.java.libraries' should be made using 'getStringArray' method. The SonarQube plugin using this property should be updated. |  
  | Access to the multi-values/property set property 'sonar.java.binaries' should be made using 'getStringArray' method. The SonarQube plugin using this property should be updated. |  
  | Access to the multi-values/property set property 'sonar.java.libraries' should be made using 'getStringArray' method. The SonarQube plugin using this property should be updated.

@guwirth
Copy link
Collaborator

guwirth commented Mar 17, 2022

Hi @atipal , is this the right forum. This is the cxx plugin and there is no plugin version 3.3?

@cheskos
Copy link

cheskos commented Mar 17, 2022

Hi @guwirth, I think @atipal and me both mean the Android Studio plugin. Apologies if this is the wrong forum for this and would appreciate any pointers.

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

Successfully merging a pull request may close this issue.

4 participants