Skip to content

fix(deps): ship Avatica 1.29.0 and let Renovate update the Tycho target - #130

Merged
vlsi merged 1 commit into
mainfrom
renovate-tycho-target
Nov 8, 2026
Merged

vlsi merged 1 commit into
mainfrom
renovate-tycho-target

Conversation

@vlsi

@vlsi vlsi commented Nov 8, 2026

Copy link
Copy Markdown
Owner

The update site ships the library versions listed in MatCalciteTargetPlatform.target, not the ones in the poms, and Renovate updated only the poms. On main the update site carries calcite-core 1.36.0, avatica-core 1.23.0, guava 32.1.3-jre, janino 3.1.9 and json-smart 2.5.0, while MatCalcitePlugin/pom.xml says 1.41.0, 33.7.2-jre, 3.1.12 and 2.6.0. Avatica before 1.29.0 has CVE-2026-70410.

A Renovate regex manager now reads the Maven dependencies of .target files. Renovate names the branch after the dependency, so a version listed in both a pom and the target is updated in one PR. The versions in the poms move to <dependencyManagement> in the root pom. The target pins avatica-core 1.29.0, and the plugin imports org.joou, which Avatica 1.29.0 needs: the wrapped bundles import everything optionally, so without the import Calcite fails with NoClassDefFoundError: org/joou/UByte.

calcite-core in the pom goes back to 1.36.0, the version that ships. Moving the target to 1.41.0 fails the OSGi resolution on Eclipse 2022-12:

Missing requirement: json-path 2.9.0 requires 'java.package; org.slf4j [2.0.0,3.0.0)' but it could not be found

A local renovate --platform=local --dry-run=lookup (Renovate 44.222.4) put calcite-core, guava and json-smart from both files into the same branches (renovate/org.apache.calcite-calcite-core-1.x, renovate/guava-monorepo, renovate/json-smart-v2-monorepo). The update site built from this branch, MatCalciteRepository/target/repository/plugins, has avatica-core 1.29.0, guava 33.7.2-jre, janino and commons-compiler 3.1.12, json-smart 2.6.0 and joou 0.9.4.

Scope. Calcite 1.42 needs the platform upgrade in #121, so Renovate's calcite-core PR, which now covers the pom and the target, fails CI until #121 lands. #121 changes the same lines of the root pom, the plugin pom, the target and the manifest, and needs a rebase after this PR. httpclient5 and httpcore5 are not added: the tests pass without them, and the plugin runs Calcite locally, without Avatica's HTTP client.

🤖 Generated with Claude Code

The update site ships the library versions listed in
MatCalciteTargetPlatform.target, not the ones in the poms. Renovate
updated only the poms, so the plugin shipped calcite-core 1.36.0,
avatica-core 1.23.0, guava 32.1.3-jre, janino 3.1.9 and json-smart 2.5.0
while MatCalcitePlugin/pom.xml said 1.41.0, 33.7.2-jre, 3.1.12 and 2.6.0.
Avatica before 1.29.0 has CVE-2026-70410 (unsafe reflection in plugin
instantiation).

A Renovate regex manager now reads the Maven dependencies of .target
files. Renovate names the branch after the dependency, so a version
listed in both a pom and the target is updated in one PR. The versions
in the poms move to dependencyManagement in the root pom.

The target pins avatica-core 1.29.0 over the version Calcite asks for,
and takes guava, json-smart and janino at the pom versions. Avatica
1.29.0 needs joou, and the plugin now imports org.joou: the wrapped
bundles import everything optionally, so without the import the joou
bundle is neither wired nor shipped, and Calcite fails with
NoClassDefFoundError: org/joou/UByte.

calcite-core in the pom goes back to 1.36.0, the version that ships.
Moving the target to 1.41.0 fails the OSGi resolution of the plugin on
Eclipse 2022-12:

    Missing requirement: json-path 2.9.0 requires 'java.package; org.slf4j [2.0.0,3.0.0)' but it could not be found

User-visible:
The update site ships avatica-core 1.29.0, guava 33.7.2-jre, janino 3.1.12, json-smart 2.6.0 and joou 0.9.4.
Not changed:
The update site still ships calcite-core 1.36.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vlsi
vlsi force-pushed the renovate-tycho-target branch from e463be0 to c736417 Compare November 8, 2026 20:19
@vlsi
vlsi merged commit 3b18650 into main Nov 8, 2026
3 checks passed
@vlsi
vlsi deleted the renovate-tycho-target branch November 8, 2026 20:27
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