Skip to content

Conversation

@ahkcs
Copy link
Contributor

@ahkcs ahkcs commented Aug 20, 2025

Description

Disable commit-history file creation in snapshot publishing workflow to comply with Maven Central repository restrictions.

Why this change is needed

Maven Central Sonatype repository enforces strict rules about the types of files that can be uploaded to their snapshot repository.

Our custom commit-history-*.json files are being rejected by Maven Central as they are non-standard artifacts

What still works

  • Snapshot artifacts are published normally
  • Commit IDs are still injected into maven-metadata.xml files for traceability
  • All standard Maven repository operations continue to function

What is disabled

  • Creation of commit-history JSON files in the artifact structure
  • Upload of commit mapping files to the repository

* fix snapshot uploading

Signed-off-by: Kai Huang <ahkcs@amazon.com>

* Add comment

Signed-off-by: Kai Huang <ahkcs@amazon.com>

---------

Signed-off-by: Kai Huang <ahkcs@amazon.com>
@ahkcs ahkcs marked this pull request as ready for review August 20, 2025 23:37
@noCharger noCharger merged commit 2fda033 into opensearch-project:poc/commit-metadata Aug 20, 2025
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants