Skip to content

ci(jitpack): pin JDK 17 and scope install to the library module#73

Merged
DemchaAV merged 1 commit into
developfrom
ci/jitpack-jdk-align
May 29, 2026
Merged

ci(jitpack): pin JDK 17 and scope install to the library module#73
DemchaAV merged 1 commit into
developfrom
ci/jitpack-jdk-align

Conversation

@DemchaAV
Copy link
Copy Markdown
Owner

Summary

  • jitpack.yml: openjdk21openjdk17, and install scoped to -pl ..

Why

JitPack built the published jar on openjdk21 while the release verify/javadoc gate runs on JDK 17 (the project's maven.compiler.release baseline) — the artifact consumers download was built on a JDK CI doesn't validate. Pinning to 17 removes that drift. Scoping install to -pl . builds only the library, never the examples/benchmarks reactor siblings.

Test plan

  • jitpack.yml parses (jdk: [openjdk17], install: [...-pl .])
  • JitPack-faithful smoke ./mvnw -B -ntp -DskipTests install -pl . → BUILD SUCCESS, installs only graphcompose (library + tests jar), no siblings
  • JitPack build.log verified at the v1.6.5 tag (Task Backmigrate to Java 17 #8 post-release smoke)

JitPack built on openjdk21 while the release verify/javadoc gate runs on
JDK 17 (the project's maven.compiler.release baseline), so the published
jar was built on a JDK that CI does not validate. Pin JitPack to
openjdk17 to remove that drift, and scope the install to `-pl .` so only
the library artifact is built, never the examples/benchmarks reactor
siblings.
@DemchaAV DemchaAV merged commit ff02fb1 into develop May 29, 2026
9 checks passed
@DemchaAV DemchaAV deleted the ci/jitpack-jdk-align branch May 29, 2026 08:48
DemchaAV added a commit that referenced this pull request May 29, 2026
…ase.yml (#74)

Updates the release runbook to match the v1.6.5 plumbing (#69 #70 #71 #72 #73):

- README install snippets now flip in the release commit (cut-release.ps1),
  enforced by VersionConsistencyGuardTest — replaces the old "stay pinned to
  the previous tag, flip post-release" model that contradicted the guard.
- Version lives in four sites (library pom, aggregator, inherited
  examples/benchmarks parents); the script bumps all four + README in one pass.
- GitHub Release is created automatically by release.yml on tag push; the
  manual gh release create is now the documented fallback.
- Adds VersionConsistencyGuardTest to the pre-release guard-suite gate, and a
  v1.6.5 lesson that supersedes the v1.6.0 graphcompose.version property note.

The graphcompose-release-engineer skill (local config, Claude + Codex copies)
was aligned in lockstep.
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