Skip to content

Build fails due to transitive dependencies#861

Merged
owaiskazi19 merged 1 commit intoopensearch-project:mainfrom
reta:issue-857
Jul 6, 2023
Merged

Build fails due to transitive dependencies#861
owaiskazi19 merged 1 commit intoopensearch-project:mainfrom
reta:issue-857

Conversation

@reta
Copy link
Copy Markdown
Contributor

@reta reta commented Jul 6, 2023

Description

Build fails due to transitive dependencies

Issues Resolved

Closes #857

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Comment thread build.gradle
@owaiskazi19
Copy link
Copy Markdown
Member

Thanks @reta!

@owaiskazi19 owaiskazi19 merged commit 5e6668e into opensearch-project:main Jul 6, 2023
@opensearch-trigger-bot
Copy link
Copy Markdown

The backport to 1.x failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/opensearch-sdk-java/backport-1.x 1.x
# Navigate to the new working tree
pushd ../.worktrees/opensearch-sdk-java/backport-1.x
# Create a new branch
git switch --create backport/backport-861-to-1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 5e6668ee0e4190c3be19d5fced3d228e038cdfaa
# Push it to GitHub
git push --set-upstream origin backport/backport-861-to-1.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/opensearch-sdk-java/backport-1.x

Then, create a pull request where the base branch is 1.x and the compare/head branch is backport/backport-861-to-1.x.

@reta
Copy link
Copy Markdown
Contributor Author

reta commented Jul 6, 2023

Folks, backport to 1.x may not be needed, the opensearch-java 2.x does not bring Apache HttpClient5 / HttpCore5 by default - this is opt-in only (in this release line)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Build fails due to transitive dependencies

3 participants