I am not able to download from spring repo without error.

Download https://plugins.gradle.org/m2/org/jfrog/buildinfo/build-info-api/2.7.5/build-info-api-2.7.5.jar
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'api'.
> Could not resolve all files for configuration ':classpath'.
   > Could not download build-info-extractor-gradle.jar (org.jfrog.buildinfo:build-info-extractor-gradle:4.4.15)
      > Could not get resource 'https://repo.spring.io/plugins-release/org/jfrog/buildinfo/build-info-extractor-gradle/4.4.15/build-info-extractor-gradle-4.4.15.jar'.
         > Could not GET 'https://repo.spring.io/plugins-release/org/jfrog/buildinfo/build-info-extractor-gradle/4.4.15/build-info-extractor-gradle-4.4.15.jar'. Received status code 401 from server: Unauthorized
   > Could not download build-info-client.jar (org.jfrog.buildinfo:build-info-client:2.7.5)
      > Could not get resource 'https://repo.spring.io/plugins-release/org/jfrog/buildinfo/build-info-client/2.7.5/build-info-client-2.7.5.jar'.
         > Could not GET 'https://repo.spring.io/plugins-release/org/jfrog/buildinfo/build-info-client/2.7.5/build-info-client-2.7.5.jar'. Received status code 401 from server: Unauthorized
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

This is my build.gradle:

buildscript {
    repositories {
        mavenCentral()

        maven {
            url "https://repo.spring.io/plugins-release"
        }
        maven {
            url "https://plugins.gradle.org/m2/"
        }

        mavenLocal()
    }

    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
        classpath("se.transmode.gradle:gradle-docker:${gradleDockerVersion}")
        classpath("org.springframework.build.gradle:propdeps-plugin:${propdepsPluginVersion}")
        classpath("org.jfrog.buildinfo:build-info-extractor-gradle:${buildInfoExtractorGradleVersion}")
        classpath("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:${sonarqubeGradlePluginVersion}")
        classpath("com.netflix.nebula:gradle-aggregate-javadocs-plugin:${nebulaAggregateJavadocsVersion}")
    }

I noticed the new error today, is this a mistake of configuration? The .pom is accessible without auth.

Comment From: bclozel

We're in the process of cleaning up repositories hosted on repo.spring.io. There might be some rules changes being applied now or in the near future.

In general repo.spring.io repositories are meant to host spring artifacts and some dependencies (depending on the repo, mirroring rule change), but they're not meant to completely mirror Maven Central or JCenter.

I'm not why this problem happened, as your application is supposed to download that dependency from plugins.gradle.org and not repo.spring.io. Is it still failing now?

Comment From: kopax

Hi @bclozel and thanks for looking at this, and sorry for the time lost ^^.

For people having the same error, it seemed that the repository was used as a fallback since mavenCentral removed that dependency. (I didn't know they could do that.)

As a solution, I added jcenter() in my list of repositories.

Since this is not related to spring repo, I'll close it.

Comment From: bclozel

Thanks for letting us know!