Retire Maven Wrapper, add contributor docs, and introduce code-review quality gates#98
Draft
peter-lawrey wants to merge 15 commits intoadv/formattingfrom
Draft
Retire Maven Wrapper, add contributor docs, and introduce code-review quality gates#98peter-lawrey wants to merge 15 commits intoadv/formattingfrom
code-review quality gates#98peter-lawrey wants to merge 15 commits intoadv/formattingfrom
Conversation
james-mcsherry
approved these changes
Oct 27, 2025
code-review quality gates
|
…view # Conflicts: # .mvn/wrapper/MavenWrapperDownloader.java # README.adoc
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.



This PR removes the obsolete Takari Maven Wrapper downloader, introduces a reusable code-review Maven profile (Checkstyle, SpotBugs+FindSecBugs, PMD, JaCoCo), refreshes and expands project documentation, aligns copyrights/branding with chronicle.software (2014-2025), and adds targeted tests and minor refactors to tighten behaviour and style.
Why
.mvn/wrapper/MavenWrapperDownloader.java+maven-wrapper.properties) is legacy and unnecessary in CI and developer environments that already provision Maven.What changed
Build & repo hygiene
🔥 Remove Takari wrapper downloader
Deletes
.mvn/wrapper/MavenWrapperDownloader.javaand.mvn/wrapper/maven-wrapper.properties.🛠 Add
code-reviewMaven profile (opt-in):src/main/config/checkstyle.xml)src/main/config/spotbugs-exclude.xml)src/main/config/pmd-ruleset.xml,pmd-exclude.properties)${jacoco.line.coverage}=0.918,${jacoco.branch.coverage}=0.854)📦 Pin plugin versions via properties; lift hard enforcer rules (removed
maven-enforcer-plugin) to reduce friction for consumers.📄 LICENSE.adoc added (Apache 2.0 pointer).
Documentation (AsciiDoc, British English, ISO-8859-1 policy)
New
AGENTS.md(house rules for humans/LLMs): language, character-set, commit/PR etiquette, doc-first loop, Nine-Box tags.README.adoc updates:
0.27ea1.New internal docs under
src/main/docs/:specifications.adoc(FN/NF/TEST/DOC/OPS)architecture-overview.adocalgorithm-profiles.adocinvariants-and-contracts.adoctesting-strategy.adocperformance-benchmarks.adoc(notes TODOs)unsafe-and-platform-notes.adocchange-log-template.adocSource headers & styling
Update headers across
net.openhft.hashing.*toCopyright 2014-2025 chronicle.software.Micro-refactors for clarity/consistency (no behaviour change intended):
MetroHash: simplified rotations (removed redundant parentheses).ModernCompactStringHash: idiomatic comparison.MurmurHash_3/WyHash: explicit casts tolongnormalised.Util: explicit fallback comment.Tests
ByteBufferAccessTest,DualHashFunctionTest,ModernCompactStringHashTest.LongHashFunctionTest(boolean slices, direct/read-only buffers, char slices).mvn -q verify; tuple/long projections cross-checked.Impact
-Pcode-reviewenforces style, bug-finders, PMD, and coverage thresholds.Verification