From 5f251354950147c4281a31e163b0f248a49f1c7a Mon Sep 17 00:00:00 2001 From: Xitee <59659167+Xitee1@users.noreply.github.com> Date: Sat, 18 Apr 2026 14:53:13 +0200 Subject: [PATCH 1/2] Bump dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - LuckPerms API 5.4 → 5.5 - Spigot API 1.20.6 → 1.21.11 - VaultAPI 1.7 → 1.7.1 - PlaceholderAPI 2.11.1 → 2.12.2 (also unblocks CI — 2.11.1 no longer on repo) - JetBrains annotations 24.0.1 → 26.0.2 - maven-compiler-plugin 3.11.0 → 3.15.0 - PlaceholderAPI repo URL updated to repo.extendedclip.com/releases/ commons-io stays at 2.12.0 to preserve runtime compatibility with legacy Minecraft versions (1.7.10 / 1.8.8+), where an older commons-io is bundled with the server. The legacy spigot-api 1.12.2 dep (org.spigotmc. groupId) is intentionally left untouched. Co-Authored-By: Claude Opus 4.7 (1M context) --- pom.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 1d63bc3..baf1b47 100644 --- a/pom.xml +++ b/pom.xml @@ -22,7 +22,7 @@ placeholderapi - https://repo.extendedclip.com/content/repositories/placeholderapi/ + https://repo.extendedclip.com/releases/ @@ -30,7 +30,7 @@ net.luckperms api - 5.4 + 5.5 provided @@ -38,7 +38,7 @@ org.spigotmc spigot-api - 1.20.6-R0.1-SNAPSHOT + 1.21.11-R0.1-SNAPSHOT provided @@ -51,7 +51,7 @@ com.github.MilkBowl VaultAPI - 1.7 + 1.7.1 provided @@ -63,7 +63,7 @@ me.clip placeholderapi - 2.11.1 + 2.12.2 provided @@ -76,7 +76,7 @@ org.jetbrains annotations - 24.0.1 + 26.0.2 compile @@ -94,7 +94,7 @@ maven-compiler-plugin - 3.11.0 + 3.15.0 ${java.version} ${java.version} From cb53666990aed6a684e6118a8f12d2724a86847e Mon Sep 17 00:00:00 2001 From: Xitee <59659167+Xitee1@users.noreply.github.com> Date: Sat, 18 Apr 2026 14:57:47 +0200 Subject: [PATCH 2/2] Replace javax.annotation with org.jetbrains.annotations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Spigot 1.21 no longer pulls in com.google.code.findbugs:jsr305 transitively, so javax.annotation.Nullable/Nonnull are gone. Switch to org.jetbrains.annotations (already a compile-scope dep) — annotations are RetentionPolicy.CLASS, so there's no runtime impact on any supported Minecraft version. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../de/xite/scoreboard/modules/tablist/TablistPlayer.java | 2 +- src/main/java/de/xite/scoreboard/utils/Version.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/xite/scoreboard/modules/tablist/TablistPlayer.java b/src/main/java/de/xite/scoreboard/modules/tablist/TablistPlayer.java index 68f52a8..d7113c2 100644 --- a/src/main/java/de/xite/scoreboard/modules/tablist/TablistPlayer.java +++ b/src/main/java/de/xite/scoreboard/modules/tablist/TablistPlayer.java @@ -6,7 +6,7 @@ import de.xite.scoreboard.main.PowerBoard; -import javax.annotation.Nullable; +import org.jetbrains.annotations.Nullable; public class TablistPlayer { static PowerBoard pl = PowerBoard.pl; diff --git a/src/main/java/de/xite/scoreboard/utils/Version.java b/src/main/java/de/xite/scoreboard/utils/Version.java index 31975fc..cb8de67 100644 --- a/src/main/java/de/xite/scoreboard/utils/Version.java +++ b/src/main/java/de/xite/scoreboard/utils/Version.java @@ -3,13 +3,13 @@ import de.xite.scoreboard.main.PowerBoard; import org.bukkit.Bukkit; -import javax.annotation.Nonnull; +import org.jetbrains.annotations.NotNull; import java.util.logging.Logger; public class Version implements Comparable { private final String version; - public Version(@Nonnull String version) { + public Version(@NotNull String version) { if(!version.matches("[0-9]+(\\.[0-9]+)*")) throw new IllegalArgumentException("Invalid version format"); this.version = version; @@ -59,7 +59,7 @@ public Version(@Nonnull String version) { * int = -1: a is older than b */ @Override - public int compareTo(@Nonnull Version that) { + public int compareTo(@NotNull Version that) { String[] thisParts = this.version.split("\\."); String[] thatParts = that.version.split("\\.");