Must-share information
- which versions are you using
** Community Edition Version 9.2.4 (build 50792) - what are you trying to achieve
** Analyze Java + XML + Properties files in one project - what have you tried so far to achieve this
** sonar.inclusions, sonar.sources
Dear community,
I’m trying to achieve the following: I want to build a plugin that analyzes .properties files inside a Gradle Java project. The existing plugins I found so far a not satisfying my needs. The plugin itself seems to work, it gets loaded in SQ, the rule shows in the quality profile, all good. But every time I analyze the project, only .java files are analyzed, none other. I tried to add
<sonar.sources>src/main/resources</sonar.sources> to my plugin without success. I tried to set sonar.inclusions to **/*.properties in my SQ project without success. To make sure it is not only the plugin’s fault, I tried to add XML to the quality profile, again without success, only .java files are analyzed.
I’ll be happy if someone could help me, I’m sure this should only be some kind of configuration error.