From fb47fb045eb9042f996c93338ab818cb63022407 Mon Sep 17 00:00:00 2001 From: Esteban Zimanyi Date: Fri, 10 Jul 2026 17:21:52 +0200 Subject: [PATCH] Derive MEOS catalog in the javadoc workflow The javadoc build compiles jmeos-core, which runs the generate-meos-facade step and reads codegen/input/meos-idl.json. That file is no longer committed (it is derived in CI and gitignored), so the push-only javadoc workflow failed with FileNotFoundException. Provision it via the shared provision-meos action exactly as maven.yml does, catalog-only since javadoc never runs the library. --- .github/workflows/deploy_javadoc.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/deploy_javadoc.yml b/.github/workflows/deploy_javadoc.yml index fc2550417..2a276fc89 100644 --- a/.github/workflows/deploy_javadoc.yml +++ b/.github/workflows/deploy_javadoc.yml @@ -22,6 +22,23 @@ jobs: - name: Set up Maven run: mvn -B wrapper:wrapper + # Derive the MEOS catalog from MobilityDB in CI — it is no longer committed. + # Catalog-only (build-libmeos: false): javadoc compiles the sources but never + # runs them, so the native libmeos is not needed here. + - name: Provision MEOS catalog + id: provision + uses: MobilityDB/MEOS-API/.github/actions/provision-meos@master + with: + mobilitydb-ref: master + build-libmeos: "false" + + # Stage the derived catalog where FunctionsGenerator reads it at build time. + # The catalog is gitignored — it only ever exists as a build artifact. + - name: Stage the derived catalog for the generator + run: | + mkdir -p codegen/input + cp "${{ steps.provision.outputs.catalog-path }}" codegen/input/meos-idl.json + - name: Build sources run: mvn -B -DskipTests compile # Compiles the codegen module and generates functions/GeneratedFunctions.java, so the