Repository navigation
Compile against OIE 4.7.0 again, and install the engine jars with the checked script - #24
Merged
Merged
Conversation
… 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OIE 4.7.0 was published on 2026-10-21 from engine commit
f9ba73e28. Itsoie_unix_4_7_0.tar.gz(SHA-256ab08558873dc6be1e474afaacc46efe94d29c945cd3381c10d0ae548ecb429de, from the release'ssha256sums) 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.xmlnamed 4.7.0 but the build compiled against 4.6.0, and pins the tarball's hash in the repo:pom.xml:mc.versionis 4.7.0,plugin.supported.mc.versionsis back to${mc.version}, and the Temporary comment is gone.oie.dist.sha256pins the hash above.scripts/install-engine-jars.shchecks the tarball againstoie.dist.sha256. Before, it checked against thesha256sumsfile it downloaded from the same release, which only shows the two downloads agree with each other. It downloads into$OIE_DIST_CACHEwhen that is set (otherwisetarget/oie-dist/, as before), and callsmaven-help-plugin3.5.1 andmaven-install-plugin3.1.4 by version instead of whatever Maven resolves.build.ymlandrelease.ymlrun the script, with the tarball cached in.oie-distby engine version, instead of their own copies of its jar list.Tested on Java 17.0.17 and Maven 3.9.16:
oie.dist.sha256stops it before any download. A wrong 64-digit value downloads the tarball and stops with the mismatch message. A fresh run into$OIE_DIST_CACHEdownloads, checks and installs the four jars, and a second run uses the cached tarball. With no$OIE_DIST_CACHEit downloads intotarget/oie-dist/and installs.mvn -B -ntp clean verify: 14 tests pass, and every module's engine dependencies resolve to 4.7.0.main's build; only timestamps differ. Itsplugin.xmlsays 1.5.0 for 4.7.0.release.ymlruns only on a tag; its new steps are the onesbuild.ymlruns 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.