Hi
with a local SonarQube (community 9 lts), I was correctly running mvn sonar:sonar
with the SONAR_TOKEN
environment variable correctly set. I was using
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>4.0.0.4121</version>
</plugin>
After updating to <version>5.0.0.4389</version>
, the sonar:sonar
goal always fails with
Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:5.0.0.4389:sonar (default-cli) on project ...: Error status returned by url [https://api.sonarcloud.io/analysis/jres?os=linux&arch=x86_64]: 403
Reverting to the previous version of the Maven plugin makes it work again.
Is that a known regression?
Thanks in advance