Repository navigation
Add elemental2-webcrypto to the Maven release pipeline - #190
Open
rootkiller6788 wants to merge 1 commit into
Open
rootkiller6788 wants to merge 1 commit into
rootkiller6788 wants to merge 1 commit into
Conversation
The webcrypto module is built by Bazel (//java/elemental2/webcrypto) but is missing from the Maven publication pipeline: there is no maven/pom-webcrypto.xml and 'webcrypto' is not listed in ELEMENTAL_ARTIFACTS in publish_to_sonatype.sh, so elemental2-webcrypto has never been published to Maven Central. Add the pom (depending on elemental2-core and elemental2-promise, matching the BUILD deps) and add webcrypto to the artifact list. Fixes google#179
rootkiller6788
marked this pull request as ready for review
November 18, 2026 13:18
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.
What
The
webcryptomodule is part of the Bazel build (//java/elemental2/webcrypto) but was omitted from the Maven release pipeline:maven/pom-webcrypto.xmldid not exist.webcryptowas missing fromELEMENTAL_ARTIFACTSinmaven/publish_to_sonatype.sh.As a result
com.google.elemental2:elemental2-webcryptohas never been published to Maven Central, even though all sibling modules (core,dom,indexeddb,media,promise,svg,webassembly,webgl,webstorage) are published.Changes
maven/pom-webcrypto.xml, modeled on the sibling poms, with dependencies onelemental2-coreandelemental2-promise(matching thedepsinjava/elemental2/webcrypto/BUILD).webcryptotoELEMENTAL_ARTIFACTSinmaven/publish_to_sonatype.shso the release script builds, signs and deploys it along with the other artifacts.Verification
jsinterop_generatorrulename = "webcrypto"and its targets match the pattern used by every other published module.__VERSION__/__COMMON_DEPENDENCIES__/__BUILD_SECTION__placeholders as the sibling poms.bash -npasses on the updated script.Fixes #179