You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build(examples): convert Gradle example projects to Maven
Convert the three remaining Gradle-based example projects
(client-v2-apache-arrow, demo-service, demo-kotlin-service) to Maven so
every project under examples/ builds with a single, consistent toolchain.
- Add a standalone pom.xml to each project, mirroring the existing Maven
examples: the CI-rewritten <clickhouse-java.version> property and the
<clickhouse-packages.classifier>all</> shaded artifacts.
* client-v2-apache-arrow: plain Java 17, Arrow BOM, exec:java run (the
required --add-opens flags live in .mvn/jvm.config).
* demo-service: spring-boot-starter-parent 3.4.4 + repackage.
* demo-kotlin-service: kotlin-maven-plugin 2.0.20 + Ktor BOM 2.3.12,
maven-shade-plugin fat jar (Main-Class io.ktor.server.netty.EngineMain).
- Remove the Gradle wrapper, build scripts, gradle.properties, version
catalog and the gradle-wrapper .gitattributes; switch each .gitignore to
target/ and update the arrow/demo-service READMEs to mvn commands.
- Drop the now-dead gradlew branch from .github/workflows/build.yml and
build_examples.sh, and the gradle.properties rewrite from release.sh
(release.sh already rewrites the example poms' <clickhouse-java.version>).
- run_examples.yml has no Gradle references, so it needs no change.
Implements: #2915
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments