Skip to content

build: package separate runtime and CLI artifacts - #22

Merged
omer-cengel merged 1 commit into
masterfrom
feature/package-runtime-and-cli-artifacts
Sep 22, 2026
Merged

omer-cengel merged 1 commit into
masterfrom
feature/package-runtime-and-cli-artifacts

Conversation

@omer-cengel

Copy link
Copy Markdown
Member

Summary

Split sqlcj into a small application runtime artifact and a dependency-inclusive executable CLI so generated applications do not inherit compiler dependencies.

Changes

  • Convert the root project into a shared-version Maven reactor.
  • Package the four JDBC runtime types in dev.sqlcj:sqlcj-runtime with no main dependencies.
  • Package the compiler and command-line entry point in dev.sqlcj:sqlcj-cli.
  • Produce an executable shaded CLI JAR with preserved implementation-version metadata.
  • Relocate existing production sources and tests unchanged into their owning modules.

Scope and non-goals

This change preserves Java packages, generated and runtime APIs, configuration discovery, diagnostics, exit codes, and compiler behavior. It does not add user documentation, publication configuration, release automation, signing, checksums, build-system plugins, or SQL/runtime features.

@omer-cengel
omer-cengel merged commit 7141387 into master Sep 22, 2026
6 checks passed
@omer-cengel
omer-cengel deleted the feature/package-runtime-and-cli-artifacts branch September 22, 2026 16:45
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