We have a java project and are trying to enable sonar.maven.scanAll option by setting it to true.
When we set it in the properties section in pom.xml, it’s not read, and we don’t see this in the logs:
the scanner will not collect additional sources because sonar.maven.scanAll has been overridden
However, when we override the property via -D, i.e. -Dsonar.maven.scanAll=true, it’s being read, and we see this in the logs:
the scanner will not collect additional sources because sonar.maven.scanAll has been overridden
We are using the latest version of the maven plugin (i.e. we’re not specifying a version).
i.e. mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
Most likely, the error happens here:
Can you open a corresponding JIRA ticket to fix this?
I’m not sure if the error happens in gradle as well or not, I will check that.
You’re just going to need to be a bit more patient. We appreciate the report (and you’ve made it in the right place), but sometimes it takes more than a day for a thread to get the attention of the right team.