opensearch-project / opensearch-project/security

Unable to build Security plugin

Open
#5,960 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triaged
Dominant language
Java
Stars
252
Forks
395
Avg merge
1d 11h
Merged PRs (30d)
76

Description

Unable to build Security plugin with - ./gradlew -Dbuild.snapshot=false clean assemble

Getting below failure
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'opensearch-security'.
> Could not resolve all artifacts for configuration 'classpath'.
   > Could not resolve org.opensearch.gradle:build-tools:3.2.0-SNAPSHOT.
     Required by:
         root project :
      > Could not resolve org.opensearch.gradle:build-tools:3.2.0-SNAPSHOT.
         > Unable to load Maven meta-data from https://artifacts.opensearch.org/snapshots/lucene/org/opensearch/gradle/build-tools/3.2.0-SNAPSHOT/maven-metadata.xml.
            > Could not GET 'https://artifacts.opensearch.org/snapshots/lucene/org/opensearch/gradle/build-tools/3.2.0-SNAPSHOT/maven-metadata.xml'. Received status code 403 from server: Forbidden

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running ./gradlew -Dbuild.snapshot=false clean assemble from the repository root and inspect the Gradle configuration that resolves org.opensearch.gradle:build-tools:3.2.0-SNAPSHOT. Investigate the 403 response from the snapshots repository; done means the Security plugin builds successfully without the dependency-resolution failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.