Skip to content

Add elemental2-webcrypto to the Maven release pipeline - #190

Open
rootkiller6788 wants to merge 1 commit into
google:masterfrom
rootkiller6788:add-webcrypto-to-maven
Open

rootkiller6788 wants to merge 1 commit into
google:masterfrom
rootkiller6788:add-webcrypto-to-maven

Conversation

@rootkiller6788

Copy link
Copy Markdown

What

The webcrypto module is part of the Bazel build (//java/elemental2/webcrypto) but was omitted from the Maven release pipeline:

  • maven/pom-webcrypto.xml did not exist.
  • webcrypto was missing from ELEMENTAL_ARTIFACTS in maven/publish_to_sonatype.sh.

As a result com.google.elemental2:elemental2-webcrypto has never been published to Maven Central, even though all sibling modules (core, dom, indexeddb, media, promise, svg, webassembly, webgl, webstorage) are published.

Changes

  • Add maven/pom-webcrypto.xml, modeled on the sibling poms, with dependencies on elemental2-core and elemental2-promise (matching the deps in java/elemental2/webcrypto/BUILD).
  • Add webcrypto to ELEMENTAL_ARTIFACTS in maven/publish_to_sonatype.sh so the release script builds, signs and deploys it along with the other artifacts.

Verification

  • The jsinterop_generator rule name = "webcrypto" and its targets match the pattern used by every other published module.
  • POM is well-formed XML and carries the same __VERSION__ / __COMMON_DEPENDENCIES__ / __BUILD_SECTION__ placeholders as the sibling poms.
  • bash -n passes on the updated script.

Fixes #179

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
rootkiller6788 marked this pull request as ready for review November 18, 2026 13:18
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.

elemental2-webcrypto is missing from maven

1 participant