Skip to content

[Maintenance] Fix bc-fips dependency jarhell for maven publish#5963

Merged
cwperks merged 1 commit into
opensearch-project:mainfrom
RyanL1997:fix-maven-build-with-FIPS
Feb 20, 2026
Merged

[Maintenance] Fix bc-fips dependency jarhell for maven publish#5963
cwperks merged 1 commit into
opensearch-project:mainfrom
RyanL1997:fix-maven-build-with-FIPS

Conversation

@RyanL1997
Copy link
Copy Markdown
Collaborator

Description

The FIPS flag (-Pcrypto.standard=FIPS-140-3) was added to plugin_install.yml and scripts/build.sh, but it's missing from maven-publish.yml. This means the published snapshots are still built without the flag, so bc-fips, bcpkix-fips, and bcutil-fips are bundled as implementation instead of compileOnly. This causes jar hell for downstream plugins (like SQL) that download the security snapshot for integration tests, since those jars already exist in OpenSearch core's lib/ directory.

Issues Resolved

Check List

  • New functionality includes testing
  • New functionality has been documented
  • New Roles/Permissions have a corresponding security dashboards plugin PR
  • API changes companion pull request created
  • Commits are signed per the DCO using --signoff

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: Jialiang Liang <jiallian@amazon.com>
@RyanL1997 RyanL1997 changed the title [maintenance] Fix bc-fips dependency jarhell for maven publish [Maintenance] Fix bc-fips dependency jarhell for maven publish Feb 19, 2026
@RyanL1997 RyanL1997 added the maintenance Project maintenance label Feb 19, 2026
@cwperks cwperks merged commit 20b074e into opensearch-project:main Feb 20, 2026
103 of 121 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants