From ae416689736d75b8a824726f0407cfe9abc2af09 Mon Sep 17 00:00:00 2001 From: Remy Duijsens Date: Fri, 24 Jul 2026 21:49:05 +0200 Subject: [PATCH 1/3] Align Paper and Adventure platform versions --- pom.xml | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 2fe3a88..769d9ce 100644 --- a/pom.xml +++ b/pom.xml @@ -53,16 +53,16 @@ - 3.0.7 + 3.0.6 UTF-8 UTF-8 25 ${java.version} - 26.1.2.build.72-stable + 26.2.build.65-beta 4.1.0-SNAPSHOT - 4.26.1 + 5.2.0 4.2.0 9.7.0 7.1.0 @@ -161,6 +161,27 @@ [25,) [3.8.6,) + + true + + net.kyori:adventure-api:[0,5.0.0) + net.kyori:adventure-key:[0,5.0.0) + net.kyori:adventure-nbt:[0,5.0.0) + net.kyori:adventure-resource-pack:[0,5.0.0) + net.kyori:adventure-serializer-configurate4:[0,5.0.0) + net.kyori:adventure-text-logger-slf4j:[0,5.0.0) + net.kyori:adventure-text-minimessage:[0,5.0.0) + net.kyori:adventure-text-serializer-ansi:[0,5.0.0) + net.kyori:adventure-text-serializer-commons:[0,5.0.0) + net.kyori:adventure-text-serializer-gson:[0,5.0.0) + net.kyori:adventure-text-serializer-gson-legacy-impl:[0,5.0.0) + net.kyori:adventure-text-serializer-json:[0,5.0.0) + net.kyori:adventure-text-serializer-json-legacy-impl:[0,5.0.0) + net.kyori:adventure-text-serializer-legacy:[0,5.0.0) + net.kyori:adventure-text-serializer-plain:[0,5.0.0) + + Adventure 4.x core modules are not supported. Keep the Adventure core dependency graph on 5.x. + @@ -224,4 +245,4 @@ - + \ No newline at end of file From 32250db92cd8050fc7258c39b283dfc1966e84e9 Mon Sep 17 00:00:00 2001 From: Remy Duijsens Date: Fri, 24 Jul 2026 21:49:33 +0200 Subject: [PATCH 2/3] Verify Adventure dependency alignment in CI --- .github/workflows/ci-tests-and-coverage.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci-tests-and-coverage.yml b/.github/workflows/ci-tests-and-coverage.yml index 6c6691b..f869db6 100644 --- a/.github/workflows/ci-tests-and-coverage.yml +++ b/.github/workflows/ci-tests-and-coverage.yml @@ -33,6 +33,18 @@ jobs: id: tests run: mvn -U -B -ntp -Pintegration-tests verify + - name: Verify Adventure dependency alignment + shell: bash + run: | + mkdir -p target/ci + mvn -B -ntp dependency:tree \ + '-Dincludes=net.kyori:adventure-*' \ + | tee target/ci/adventure-dependency-tree.txt + if grep -E 'net\.kyori:(adventure-api|adventure-key|adventure-nbt|adventure-resource-pack|adventure-serializer-configurate4|adventure-text-logger-slf4j|adventure-text-minimessage|adventure-text-serializer-(ansi|commons|gson|gson-legacy-impl|json|json-legacy-impl|legacy|plain)):[^:]+:4\.' target/ci/adventure-dependency-tree.txt; then + echo "Adventure 4.x core modules remain in the resolved dependency graph." >&2 + exit 1 + fi + - name: Print failing test reports if: failure() && steps.tests.outcome == 'failure' shell: bash @@ -58,3 +70,4 @@ jobs: path: | **/target/surefire-reports **/target/failsafe-reports + target/ci \ No newline at end of file From 4d8153e4cc30ed57a937f774ad30186d8d7a92d2 Mon Sep 17 00:00:00 2001 From: Remy Duijsens Date: Fri, 24 Jul 2026 22:05:54 +0200 Subject: [PATCH 3/3] Update ci-tests-and-coverage.yml Signed-off-by: Remy Duijsens --- .github/workflows/ci-tests-and-coverage.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/ci-tests-and-coverage.yml b/.github/workflows/ci-tests-and-coverage.yml index f869db6..dc98256 100644 --- a/.github/workflows/ci-tests-and-coverage.yml +++ b/.github/workflows/ci-tests-and-coverage.yml @@ -33,18 +33,6 @@ jobs: id: tests run: mvn -U -B -ntp -Pintegration-tests verify - - name: Verify Adventure dependency alignment - shell: bash - run: | - mkdir -p target/ci - mvn -B -ntp dependency:tree \ - '-Dincludes=net.kyori:adventure-*' \ - | tee target/ci/adventure-dependency-tree.txt - if grep -E 'net\.kyori:(adventure-api|adventure-key|adventure-nbt|adventure-resource-pack|adventure-serializer-configurate4|adventure-text-logger-slf4j|adventure-text-minimessage|adventure-text-serializer-(ansi|commons|gson|gson-legacy-impl|json|json-legacy-impl|legacy|plain)):[^:]+:4\.' target/ci/adventure-dependency-tree.txt; then - echo "Adventure 4.x core modules remain in the resolved dependency graph." >&2 - exit 1 - fi - - name: Print failing test reports if: failure() && steps.tests.outcome == 'failure' shell: bash @@ -70,4 +58,4 @@ jobs: path: | **/target/surefire-reports **/target/failsafe-reports - target/ci \ No newline at end of file + target/ci