You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error suggests that the required Maven snapshot dependency (org.opensearch.gradle:build-tools:2.15.0.0-SNAPSHOT & common-utils:2.15.0.0-SNAPSHOT) is missing from the repository. The issue is due to the snapshot being removed from the repository.
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
The text was updated successfully, but these errors were encountered:
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.
What is the bug?
https://ci.opensearch.org/ci/dbc/snapshots/lucene/org/opensearch/common-utils/2.15.0.0-SNAPSHOT/maven-metadata.xml.
How can one reproduce the bug?
What is the expected behavior?
What is your host/environment?
Do you have any additional context?
The text was updated successfully, but these errors were encountered: