Gradle build fails due to `org.sonarsource.parent:parent:52` artifact missing in plugins.gradle.org Maven repo

Versions used:

  • SonarCloud
  • Gradle 6.6.1
  • org.sonarqube plugin 2.8

Running:
gradle clean build --refresh-dependencies

Results in:

> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve org.sonarsource.scanner.api:sonar-scanner-api:2.14.0.2002.
     Required by:
         project : > org.sonarqube:org.sonarqube.gradle.plugin:2.8 > org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.8
      > Could not resolve org.sonarsource.scanner.api:sonar-scanner-api:2.14.0.2002.
         > Could not parse POM https://plugins.gradle.org/m2/org/sonarsource/scanner/api/sonar-scanner-api/2.14.0.2002/sonar-scanner-api-2.14.0.2002.pom
            > Could not resolve org.sonarsource.scanner.api:sonar-scanner-api-parent:2.14.0.2002.
               > Could not resolve org.sonarsource.scanner.api:sonar-scanner-api-parent:2.14.0.2002.
                  > Could not parse POM https://plugins.gradle.org/m2/org/sonarsource/scanner/api/sonar-scanner-api-parent/2.14.0.2002/sonar-scanner-api-parent-2.14.0.2002.pom
                     > Could not resolve org.sonarsource.parent:parent:52.
                        > Skipped due to earlier error

Opening: https://plugins.gradle.org/m2/org/sonarsource/ shows that indeed there is no parent folder:
image

How did it get removed? Are Sonar or Gradle devs maintaining that artifact?

Tried now - build is no longer failing.
There was no change on our end.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

Hi @grimsa,

Thanks for coming back to report it works now :+1:. I’ve marked your answer as the solution.

Cheers.