Skip to content

feat(components): implement jvm-build (stub batch 7) - #678

Merged
lex00 merged 1 commit into
mainfrom
feat/implement-stub-verbs-batch7
Jul 5, 2026
Merged

lex00 merged 1 commit into
mainfrom
feat/implement-stub-verbs-batch7

Conversation

@lex00

@lex00 lex00 commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Seventh stub batch — completes the build family (docker-build, zip-package, jvm-build).

Implemented

jvm-build — compiles/packages a JVM project through the injectable ProcessRunner: runs the package goal (mvn -q -B -f <path>/pom.xml, or ./gradlew), copies the produced jar (skipping -sources/-javadoc classifiers) to into, returns its content digest. Also drops the now-unused stubCapability import and corrects the module doc.

Verified

  • tsc clean; component suite 581 (2 new — mock runner asserts the mvn/gradle + cp commands, real temp file backs the digest).
  • Live (hermetic): a jvm-build component ran a real Maven build and produced app.jar containing the compiled demo/Main.class.

Progress: 10 of 14 — build family complete

Remaining: run-migration, emr-submit-step, copy-to-host, remote-exec.

Refs #639.

Completes the build family. jvm-build compiles/packages a JVM project through
the injectable ProcessRunner: runs the package goal (mvn -q -B -f <path>/pom.xml,
or the gradle wrapper), copies the produced jar (skipping -sources/-javadoc
classifiers) to `into`, and returns its content digest.

Also drops the now-unused stubCapability import and corrects the build.ts
module doc (zip-package + jvm-build are real, not stubs).

Tests: mock ProcessRunner asserts the mvn/gradle + cp commands; a real temp
file backs the digest read. Component suite 581. Verified live (hermetic): a
jvm-build component ran a real Maven build and produced app.jar containing the
compiled demo/Main.class.

capabilities.mdx drops the ‡ from jvm-build. 10 of 14 stubs done; the build
family (docker-build, zip-package, jvm-build) is complete.

Refs #639.
@lex00
lex00 merged commit 31e8e40 into main Jul 5, 2026
6 checks passed
@lex00
lex00 deleted the feat/implement-stub-verbs-batch7 branch July 5, 2026 02:33
This was referenced Oct 16, 2026
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