Skip to content

Update the maven snapshot publish endpoint and credential#820

Merged
Gaganjuneja merged 1 commit intoopensearch-project:mainfrom
zelinh:update-maven-snapshot
Jun 20, 2025
Merged

Update the maven snapshot publish endpoint and credential#820
Gaganjuneja merged 1 commit intoopensearch-project:mainfrom
zelinh:update-maven-snapshot

Conversation

@zelinh
Copy link
Member

@zelinh zelinh commented Jun 19, 2025

Description

Update the Maven Snapshots publish URL in accordance with the recent Sonatype migration.
https://central.sonatype.org/publish/publish-portal-snapshots/

We have stored the onepassword token in this OpenSearch repo secrets and new credentials for Sonatypes username & password have been stored in onepassword. These credentials will be exported as env variables which used by maven publish.

Related Issues

Part of a campaign from opensearch-project/opensearch-build#5551

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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: Zelin Hao <zelinhao@amazon.com>
@codecov
Copy link

codecov bot commented Jun 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.89%. Comparing base (9cb092f) to head (9ac0660).
⚠️ Report is 40 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #820      +/-   ##
============================================
- Coverage     70.88%   69.89%   -0.99%     
- Complexity      421      488      +67     
============================================
  Files            49       54       +5     
  Lines          3125     3518     +393     
  Branches        194      228      +34     
============================================
+ Hits           2215     2459     +244     
- Misses          785      914     +129     
- Partials        125      145      +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Gaganjuneja Gaganjuneja merged commit bc5f69d into opensearch-project:main Jun 20, 2025
6 of 7 checks passed
@gaiksaya
Copy link
Member

Hi maintainers,
Please add the correct label to backport to active branches.
Would recommend backporting this PR to 2.19 for 2.19.x artifacts for future releases.

Thanks!

opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 18, 2025
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
(cherry picked from commit bc5f69d)
cwperks pushed a commit that referenced this pull request Aug 18, 2025
(cherry picked from commit bc5f69d)

Signed-off-by: Zelin Hao <zelinhao@amazon.com>
Co-authored-by: Zelin Hao <zelinhao@amazon.com>
AjayRajNelapudi pushed a commit to AjayRajNelapudi/performance-analyzer that referenced this pull request Mar 2, 2026
…-project#820) (opensearch-project#839)

(cherry picked from commit bc5f69d)

Signed-off-by: Zelin Hao <zelinhao@amazon.com>
Co-authored-by: Zelin Hao <zelinhao@amazon.com>
nishchay21 pushed a commit that referenced this pull request Mar 3, 2026
* Update the maven snapshot publish endpoint and credential (#820) (#839)

(cherry picked from commit bc5f69d)

Signed-off-by: Zelin Hao <zelinhao@amazon.com>
Co-authored-by: Zelin Hao <zelinhao@amazon.com>

* [Backport 2.19] Onboarding new maven snapshots publishing to s3 (PA) (#854)

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Hardcode BWC to 2.19 to mitigate build failure (#874)

Signed-off-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>
Co-authored-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>

* Bump checkstyle and spotbug versions (#833) (#861)

Signed-off-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>

* Bump bcpkix-jdk18on and commons-lang3 (#877)

Signed-off-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>
Co-authored-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>

* Force io.netty:netty-codec-http2 version (#879)

Signed-off-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>
Co-authored-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>

* Update dependency SHAs

Signed-off-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>

* Remove Codecov bash uploader dependency

Signed-off-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>

* Fix BWC tests with available versions

Signed-off-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>

* Add lycheeignore to skip troublesome URLs

Signed-off-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>

---------

Signed-off-by: Zelin Hao <zelinhao@amazon.com>
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Signed-off-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: Zelin Hao <zelinhao@amazon.com>
Co-authored-by: Peter Zhu <zhujiaxi@amazon.com>
Co-authored-by: Ajay Raj Nelapudi <ajnelapu@amazon.com>
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.

4 participants