From 61cdd1755fe4f4f90e6d838717813d996f862aaa Mon Sep 17 00:00:00 2001 From: DemchaAV Date: Sat, 30 May 2026 10:08:18 +0100 Subject: [PATCH] chore(build): scope byte-buddy as test to keep it out of the published POM Mockito already excludes its transitive byte-buddy and we pin a single version in a standalone dependency; that dependency was missing a scope, so the published POM advertised byte-buddy as a compile dependency even though no production code references it. Setting test keeps the version pin while keeping byte-buddy off consumers' runtime classpath; mvn dependency:tree now shows both byte-buddy and byte-buddy-agent only with :test. Part of v1.6.5 publish hygiene (PR-7.2). --- CHANGELOG.md | 10 ++++++++++ pom.xml | 1 + 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9d4c4bf..fcbbbce0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,16 @@ follow semantic versioning; release dates are ISO 8601. full-height column fills are unchanged. Adds top-/bottom-/mid-band regression tests. +### Build + +- **`byte-buddy` is now `test`.** Mockito already excludes + its transitive `byte-buddy` and the project pins a single version in a + standalone dependency; that dependency was missing a scope, so the + published POM advertised `byte-buddy` as a compile dependency even + though no production code references it. Setting `test` + keeps the version pin but keeps `byte-buddy` out of consumers' runtime + classpath (`mvn dependency:tree` shows it only as `:test`). + ## v1.6.4 — 2026-05-22 Bug fix + structured-block patch. Adds two new public Block types — diff --git a/pom.xml b/pom.xml index 5ddbc221..b3d89b1f 100644 --- a/pom.xml +++ b/pom.xml @@ -220,6 +220,7 @@ net.bytebuddy byte-buddy ${byteBuddy.version} + test org.mockito