Add shared Maven build workflow - #626
Open
msarahan wants to merge 2 commits into
Open
Conversation
Contributor
Author
|
testing pipeline at https://github.com/NVIDIA/cuvs/actions/runs/33665962622?pr=2545 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Consolidates Java package build steps into a common workflow. Anticipated to be used for cuvs, cudf, cuopt and any other future Java packages.
Users of this script no longer configure:
They still own:
So the downstream configuration becomes declarative: “build this coordinate using this script and image family,” instead of reconstructing the matrix execution machinery in every repository. It also centralizes the correctness-sensitive rule that a cu12 artifact must actually run in a CUDA 12-pinned image.
Deliberate publication boundary
This workflow does not gather or publish artifacts. cuOpt currently produces roughly 405 MB per classifier, so four classifiers can exceed the Sonatype Portal 1 GB bundle limit. Keeping gathering separate lets smaller artifacts use one Maven-repository-layout bundle while larger projects can split publication without changing the build contract. Maven signing and Central staging remain the responsibility of the existing maven-publish.yaml workflow.
Related: NVIDIA/cuopt#1818, rapidsai/build-infra#379