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 #5164

Open
surekhasangle opened this issue Mar 10, 2025 · 1 comment
Open

Unable to Load Maven Metadata for OpenSearch Build Tools #5164

surekhasangle opened this issue Mar 10, 2025 · 1 comment
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 Security 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 security 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: Security 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.0-SNAPSHOT
@surekhasangle surekhasangle added bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized labels Mar 10, 2025
@derek-ho derek-ho removed the untriaged Require the attention of the repository maintainers and may need to be prioritized label Mar 10, 2025
@willyborankin
Copy link
Collaborator

willyborankin commented Mar 10, 2025

Hi @surekhasangle , try to use such command:

./gradlew --no-daemon -Dbuild.snapshot=false clean assemble

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
None yet
Development

No branches or pull requests

3 participants