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

Unable to Load Maven Metadata for OpenSearch Build Tools #3636

Open
surekhasangle opened this issue Mar 10, 2025 · 2 comments
Open

Unable to Load Maven Metadata for OpenSearch Build Tools #3636

surekhasangle opened this issue Mar 10, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@surekhasangle
Copy link

surekhasangle commented Mar 10, 2025

What is the bug?

How can one reproduce the bug?

  • Clone the OpenSearch ml-commons Plugin repository.
  • Navigate to the project directory.
  • Run the command to build the project: ./gradlew assemble
  • The build process fails with the Unable to load Maven meta-data error.

What is the expected behavior?

  • The gradlew assemble command should successfully resolve all dependencies, download the required build tools, and compile the plugin without errors.

What is your host/environment?

  • OS: [Linux, Windows]
  • OpenSearch Version: [2.15.0]
  • Java Version: [OpenJDK 21]
  • Gradle Version: [8.7]
  • Plugins Used: ml-commons Plugin
  • Build Tool: Gradle

Do you have any additional context?

  • Change opensearch version in build.gradle file to 2.15.0 instead of 2.15.0-SNAPSHOT
  • Change maven repo to release version instead SNAPSHOT
@surekhasangle surekhasangle added bug Something isn't working untriaged labels Mar 10, 2025
@dhrubo-os
Copy link
Collaborator

@peterzhuamazon do you have any insight on this?

@dhrubo-os
Copy link
Collaborator

Related to this issue.

Sonatype has a new process of removing every snapshot that is older than 30 days.
They are not able to restore any older snapshots unfortunately.

Therefore release team created this issue and still in progress.

For the time being the best case is to use non-snapshot for older versions,
as it's not possible to restore 1500 copies of snapshots within short amount of time by re-compile and push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

3 participants