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

Gradle build fails with Could not resolve com.splunk.logging:splunk-library-javalogging:1.8.0 Received status code 401 from server: Unauthorized #1827

Closed
perusworld opened this issue Jan 22, 2021 · 0 comments · Fixed by #1828

Comments

@perusworld
Copy link
Contributor

Description

As an developer, I want to be able to checkout the master branch and build the code.

Acceptance Criteria

  • ./gradlew build should run without any issues

Steps to Reproduce (Bug)

  1. ./gradlew build

Expected behavior: Build to run fine

Actual behavior: Build fails with the following error while downloading dependencies
`> Task :startScripts FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':startScripts'.

Could not resolve all files for configuration ':runtimeClasspath'.
Could not resolve com.splunk.logging:splunk-library-javalogging:1.8.0.
Required by:
project : > project :besu
> Could not resolve com.splunk.logging:splunk-library-javalogging:1.8.0.
> Could not get resource 'https://repo.spring.io/libs-release/com/splunk/logging/splunk-library-javalogging/1.8.0/splunk-library-javalogging-1.8.0.pom'.
> Could not GET 'https://repo.spring.io/libs-release/com/splunk/logging/splunk-library-javalogging/1.8.0/splunk-library-javalogging-1.8.0.pom'. Received status code 401 from server: Unauthorized
`

Frequency: 100%

shemnon pushed a commit that referenced this issue Jan 25, 2021
According to spring's notification @ https://spring.io/blog/2020/10/29/notice-of-permissions-changes-to-repo-spring-io-fall-and-winter-2020, starting january 21, 2020 repo.spring.io doesnot allow anonymous download of 3rd-party Maven Central artifacts. They suggest all their releases are available at maven central.

Add reference to the splunk repo as mentioned in https://dev.splunk.com/enterprise/docs/devtools/java/logging-java/getstartedloggingjava/installloggingjava/

Signed-off-by: Saravana Perumal Shanmugam <perusworld@linux.com>
diega pushed a commit to lacchain/besu that referenced this issue Jan 28, 2021
…ledger#1828)

According to spring's notification @ https://spring.io/blog/2020/10/29/notice-of-permissions-changes-to-repo-spring-io-fall-and-winter-2020, starting january 21, 2020 repo.spring.io doesnot allow anonymous download of 3rd-party Maven Central artifacts. They suggest all their releases are available at maven central.

Add reference to the splunk repo as mentioned in https://dev.splunk.com/enterprise/docs/devtools/java/logging-java/getstartedloggingjava/installloggingjava/

Signed-off-by: Saravana Perumal Shanmugam <perusworld@linux.com>
shmin81 added a commit to skcc-blockchain/besu-client that referenced this issue Apr 28, 2021
eum602 pushed a commit to lacchain/besu that referenced this issue Nov 3, 2023
…ledger#1828)

According to spring's notification @ https://spring.io/blog/2020/10/29/notice-of-permissions-changes-to-repo-spring-io-fall-and-winter-2020, starting january 21, 2020 repo.spring.io doesnot allow anonymous download of 3rd-party Maven Central artifacts. They suggest all their releases are available at maven central.

Add reference to the splunk repo as mentioned in https://dev.splunk.com/enterprise/docs/devtools/java/logging-java/getstartedloggingjava/installloggingjava/

Signed-off-by: Saravana Perumal Shanmugam <perusworld@linux.com>
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

Successfully merging a pull request may close this issue.

1 participant