Publish maven snapshots using GitHub Actions #6365
Labels
enhancement
Enhancement or improvement to existing feature or request
untriaged
v2.6.0
'Issues and PRs related to version v2.6.0'
Coming from opensearch-build#3185
What is happening?
We are de-coupling the task of publishing the maven snapshots from centralized build workflow to individual repositories. What this means is each repo can now publish maven snapshots using GitHub Actions.
This change unblocks the dependent components from waiting for a successful build before they can consume the snapshots. This also ensures that all snapshots are independent and up to date.
What do you need to do?
publishing
in build.gradle:Example
./gradlew publishNebulaPublicationToSnapshotsRepository
.Testing
Testing
Manually tested by editing the snapshot repository by updating the Snapshots target repository from maven to a local file system path.
Run the command ./gradlew publishNebulaPublicationToSnapshotsRepository which will publish the files in the file system under the 'snapshots' folder, then scan with find or your favor directory scanner to see the jars + pom with sha files
Example:
Please feel free to reach out to @opensearch-project/engineering-effectiveness.
The text was updated successfully, but these errors were encountered: