Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build is failing due to incorrect Maven repo URL #168

Open
iamalexmang opened this issue Jan 31, 2020 · 4 comments
Open

Build is failing due to incorrect Maven repo URL #168

iamalexmang opened this issue Jan 31, 2020 · 4 comments

Comments

@iamalexmang
Copy link

Build followed from this lab is failing with:

> Could not GET 'http://repo1.maven.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.2.2.RELEASE/spring-boot-gradle-plugin-1.2.2.RELEASE.pom'. Received status code 501 from server: HTTPS Required

@iamalexmang
Copy link
Author

FYI, a workaround is to replace every single place with has
mavenCentral()
with

maven {
        url 'https://repo1.maven.org/maven2/'
    }

@dj-more
Copy link

dj-more commented Jan 31, 2020

FYI, a workaround is to replace every single place with has
mavenCentral()
with

maven {
        url 'https://repo1.maven.org/maven2/'
    }

thank you Alex
this workaround worked for me.

@JanuszNowak
Copy link

Than you Alex @iamalexmang works for me after replacement.

@ArnoudBM
Copy link

FYI, a workaround is to replace every single place with has
mavenCentral()
with

maven {
        url 'https://repo1.maven.org/maven2/'
    }

For me too, but rewrote to maven { url "https://repo1.maven.org/maven2/" } so it looks the same as the other statements.
Replaced in /src/Backend/IntegrationService/build.gradle, in /src/Backend/OrderService/build.gradle, and in /src/Backend/OrderService/build.war.gradle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants