Skip to content

ci: publish only the public Java API with the released version#160

Merged
zantvoort merged 1 commit into
mainfrom
docs/java-api-version-and-modules
Jul 1, 2026
Merged

ci: publish only the public Java API with the released version#160
zantvoort merged 1 commit into
mainfrom
docs/java-api-version-and-modules

Conversation

@zantvoort

Copy link
Copy Markdown
Collaborator

Follow-ups on the now-working /api/java Javadoc — it was showing 0.0.0-SNAPSHOT and a messy module list.

Changes

  1. Version — the Javadoc title read Storm Framework 0.0.0-SNAPSHOT API (the pom <revision>, which stays SNAPSHOT on main). Now stamps the released version (newest versions.json entry) via -Drevision on both the build and the aggregate → Storm Framework 1.11.6 API.

  2. Modules — the aggregate documented an inconsistent set: the internal engine (storm.core), only one dialect (storm.mysql, the only dialect that happens to export a package), and the storm.test support module. Curated to just the public Java API:

    • storm.foundationst.orm, st.orm.mapping (Entity, Ref, annotations)
    • storm.javast.orm.repository, st.orm.template (ORMTemplate, query builder, repositories)

    Everything else is excluded (internal core, dialect SPIs, test, metamodel-processor, Spring/Jackson integrations). Two named modules keep javadoc in module mode so pages retain their storm.foundation/… paths.

  3. Docs link — "Browse the Javadoc" now points at /api/java/storm.foundation/st/orm/package-summary.html (the st.orm overview) instead of the module index, in docs/ and version-1.11.6/.

Verification (local mvn install + javadoc:aggregate at 1.11.6)

  • Exit 0, no "named and unnamed modules" error.
  • Documents exactly storm.foundation + storm.java; packages: st.orm, st.orm.mapping, st.orm.repository, st.orm.template.
  • Title: Storm Framework 1.11.6 API.
  • Link target storm.foundation/st/orm/package-summary.html present; Entity, Ref, ORMTemplate, EntityRepository all documented.
  • docs.yml is valid YAML; Docusaurus build passes.

Takes effect on the next docs deploy (after merge).

The Java Javadoc showed "0.0.0-SNAPSHOT" and an inconsistent module list
(the internal engine, a single dialect SPI, the test-support module).

- Stamp the released version (newest versions.json entry) via -Drevision on
  the build and aggregate, so the docs read e.g. "Storm Framework 1.11.6 API".
- Aggregate only storm-foundation (st.orm, st.orm.mapping) and storm-java21
  (st.orm.repository, st.orm.template) -- the public Java API -- excluding the
  internal core, dialect SPIs, test, metamodel-processor, and Spring/Jackson.
- Point the docs "Browse the Javadoc" link at
  /api/java/storm.foundation/st/orm/package-summary.html.
@zantvoort zantvoort merged commit 8653d83 into main Jul 1, 2026
7 checks passed
@zantvoort zantvoort deleted the docs/java-api-version-and-modules branch July 1, 2026 21:25
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.

1 participant