Edit: my reply here is totally out-of-context, as pointed out below. I’ve read sonar.properties, when in fact the question is around sonar-project.properties
Hi,
What is the use-case here ? sonar.properties is entirely dedicated to system properties for operating the SonarQube server. Any other runtime/functional property should be managed via the SonarQube interface (the beauty of that being that the property value is then tracked/maintained in the backend).
@NicoB Don’t mix sonar-project.properties and sonar.properties
@asishs What is the version of the plugin API you are developing with? Looking at the classes you are using, it looks very outdated.
I suggest you read this thread, because it is exactly the same question: