Skip to content

Compile against OIE 4.7.0 again, and install the engine jars with the checked script - #24

Merged
pacmano1 merged 1 commit into
mainfrom
engine-4.7.0-ga
Oct 25, 2026
Merged

pacmano1 merged 1 commit into
mainfrom
engine-4.7.0-ga

Conversation

@pacmano1

Copy link
Copy Markdown
Contributor

OIE 4.7.0 was published on 2026-10-21 from engine commit f9ba73e28. Its oie_unix_4_7_0.tar.gz (SHA-256 ab08558873dc6be1e474afaacc46efe94d29c945cd3381c10d0ae548ecb429de, from the release's sha256sums) is the tarball 1.5.0 was tested against before publication, so that testing applies to the published engine.

This ends the split 1.5.0 shipped with, where plugin.xml named 4.7.0 but the build compiled against 4.6.0, and pins the tarball's hash in the repo:

  • pom.xml: mc.version is 4.7.0, plugin.supported.mc.versions is back to ${mc.version}, and the Temporary comment is gone. oie.dist.sha256 pins the hash above.
  • scripts/install-engine-jars.sh checks the tarball against oie.dist.sha256. Before, it checked against the sha256sums file it downloaded from the same release, which only shows the two downloads agree with each other. It downloads into $OIE_DIST_CACHE when that is set (otherwise target/oie-dist/, as before), and calls maven-help-plugin 3.5.1 and maven-install-plugin 3.1.4 by version instead of whatever Maven resolves.
  • build.yml and release.yml run the script, with the tarball cached in .oie-dist by engine version, instead of their own copies of its jar list.
  • README and design notes say so.

Tested on Java 17.0.17 and Maven 3.9.16:

  • Script: a malformed oie.dist.sha256 stops it before any download. A wrong 64-digit value downloads the tarball and stops with the mismatch message. A fresh run into $OIE_DIST_CACHE downloads, checks and installs the four jars, and a second run uses the cached tarball. With no $OIE_DIST_CACHE it downloads into target/oie-dist/ and installs.
  • mvn -B -ntp clean verify: 14 tests pass, and every module's engine dependencies resolve to 4.7.0.
  • The zip's 26 files, jar contents included, are identical to main's build; only timestamps differ. Its plugin.xml says 1.5.0 for 4.7.0.
  • release.yml runs only on a tag; its new steps are the ones build.yml runs on this PR.

No release: 1.5.0 already targets 4.7.0, and this ships with the next one.

Co-authored with Claude Code.

… checked script

OIE 4.7.0 was published on 2026-10-21 from engine commit f9ba73e28. Its
oie_unix_4_7_0.tar.gz (SHA-256
ab08558873dc6be1e474afaacc46efe94d29c945cd3381c10d0ae548ecb429de, from
the release's sha256sums) is the tarball 1.5.0 was tested against before
publication, so that testing applies to the published engine. This ends
the split 1.5.0 shipped with, where plugin.xml named 4.7.0 but the build
compiled against 4.6.0.

- pom.xml: mc.version 4.7.0, plugin.supported.mc.versions back to
  ${mc.version}, the Temporary comment removed, and oie.dist.sha256 pins
  the tarball's SHA-256.
- scripts/install-engine-jars.sh checks the tarball against
  oie.dist.sha256 instead of the sha256sums file it downloaded from the
  same release, downloads into $OIE_DIST_CACHE when that is set, and
  calls maven-help-plugin 3.5.1 and maven-install-plugin 3.1.4 by version
  instead of whatever Maven resolves.
- build.yml and release.yml run the script, with the tarball cached in
  .oie-dist by engine version, instead of their own copies of its jar
  list, and read mc.version with the pinned help plugin.
- README and design notes say so.

Tested on Java 17.0.17 and Maven 3.9.16:
- Script: a malformed oie.dist.sha256 stops it before any download; a
  wrong 64-digit value downloads the tarball and stops with the mismatch
  message; a fresh run into $OIE_DIST_CACHE downloads, checks and installs
  the four jars; a second run uses the cached tarball; with no
  $OIE_DIST_CACHE it downloads into target/oie-dist/ and installs. The
  4.7.0 jars already in the local Maven repository were byte-identical
  before and after.
- mvn -B -ntp clean verify: 14 tests pass, and every module's engine
  dependencies resolve to 4.7.0.
- The zip's 26 files, jar contents included, are identical to main's
  build; only timestamps differ. Its plugin.xml says 1.5.0 for 4.7.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pacmano1
pacmano1 merged commit a67f5a0 into main Oct 25, 2026
6 checks passed
@pacmano1
pacmano1 deleted the engine-4.7.0-ga branch October 25, 2026 17:17
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