-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Describe the bug
The dependency org.jetbrains.exposed:exposed-spring-boot-starter:0.24.1 is not available in the Maven repository (https://repo.spring.io/release). Attempting to resolve this version results in a 401 Unauthorized error, indicating that either the artifact is missing or the repository requires authentication.
This issue affects the ability to build the project using Maven, as it fails to retrieve the necessary dependencies.
To Reproduce
Steps to reproduce the behavior:
- run the Maven project with the following dependency in the
pom.xml:<dependency> <groupId>org.jetbrains.exposed</groupId> <artifactId>exposed-spring-boot-starter</artifactId> <version>0.24.1</version> </dependency>
Run the command:
mvn clean install
Observe the error:
[ERROR] Failed to execute goal on project osmt-api: Could not collect dependencies for project edu.wgu.osmt:osmt-api:jar:3.1.0-SNAPSHOT
[ERROR] Failed to read artifact descriptor for org.jetbrains.exposed:exposed-spring-boot-starter:jar:0.24.1
[ERROR] Caused by: The following artifacts could not be resolved: org.jetbrains.exposed:exposed-spring-boot-starter:pom:0.24.1 (absent): Could not transfer artifact org.jetbrains.exposed:exposed-spring-boot-starter:pom:0.24.1 from/to spring-repo (https://repo.spring.io/release): status code: 401, reason phrase: (401)
[ERROR] Failed to read artifact descriptor for org.jetbrains.exposed:exposed-java-time:jar:0.24.1
[ERROR] Caused by: The following artifacts could not be resolved: org.jetbrains.exposed:exposed-java-time:pom:0.24.1 (absent): Could not transfer artifact org.jetbrains.exposed:exposed-java-time:pom:0.24.1 from/to spring-repo (https://repo.spring.io/release): status code: 401, reason phrase: (401)
[ERROR] Failed to read artifact descriptor for org.jetbrains.exposed:spring-transaction:jar:0.24.1
[ERROR] Caused by: The following artifacts could not be resolved: org.jetbrains.exposed:spring-transaction:pom:0.24.1 (absent): Could not transfer artifact org.jetbrains.exposed:spring-transaction:pom:0.24.1 from/to spring-repo (https://repo.spring.io/release): status code: 401, reason phrase: (401)
Expected behavior
The dependency should be resolved from the Maven repository without errors, and the build process should complete successfully.
Desktop (please complete the following information):
OS: Ubuntu 22.04
Additional context
Attempted to clear the Maven cache and re-run the build without success.
Checked Maven Central and the Spring repository; the version 0.24.1 appears to be missing or inaccessible.
Upgrading to a later version of the library resolves the issue, suggesting that 0.24.1 may no longer be available.
Tested in develop branch and release 3.0.0 tag