Skip to content

Modernisation cleanup: pom.xml, plugin.yml api-version, IslandLevelListener test#161

Merged
tastybento merged 3 commits into
developfrom
update-bentobox-addon-cleanup
Apr 16, 2026
Merged

Modernisation cleanup: pom.xml, plugin.yml api-version, IslandLevelListener test#161
tastybento merged 3 commits into
developfrom
update-bentobox-addon-cleanup

Conversation

@tastybento
Copy link
Copy Markdown
Member

Summary

  • plugin.yml: bump api-version from 1.19 to 1.21 to match the Paper 1.21.11 runtime already declared in pom.xml.
  • pom.xml: drop unused powermock.version / spigot.version properties and the Spigot Nexus repository; add the codemc maven-public + snapshots repos alongside the existing bentoboxworld repo; bump maven-compiler-plugin 3.7.0 → 3.15.0 with fork=true for Java 21 toolchain compatibility.
  • Add IslandLevelListenerTest so every event listener in the addon now has a test.

Test plan

  • mvn test — 82 tests, 0 failures (81 existing + 1 new)
  • CI green on the PR

🤖 Generated with Claude Code

tastybento and others added 3 commits April 15, 2026 17:47
Matches the Paper 1.21.11 runtime already declared in pom.xml.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Drop unused powermock.version and spigot.version properties
- Drop the Spigot Nexus repository (Paper is the only API in use)
- Add codemc maven-public and codemc snapshots repos; keep the
  bentoboxworld repo for BentoBox releases
- Bump maven-compiler-plugin 3.7.0 -> 3.15.0 with fork=true for Java 21
  toolchain compatibility

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Covers the happy path: IslandLevelCalculatedEvent triggers
BiomesAddonManager.checkBiomesUnlockStatus with the event's island,
target player (as User), and level. Brings every event listener in the
addon to minimum test coverage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tastybento tastybento merged commit e4e4514 into develop Apr 16, 2026
@tastybento tastybento deleted the update-bentobox-addon-cleanup branch April 16, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant