Skip to content

fix: drop mycelium-bom in favour of direct Minestom coordinates - #5

Merged
TheMeinerLP merged 1 commit into
mainfrom
drop-mycelium-bom
Aug 4, 2026
Merged

fix: drop mycelium-bom in favour of direct Minestom coordinates#5
TheMeinerLP merged 1 commit into
mainfrom
drop-mycelium-bom

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Removes the mycelium-bom platform and declares the Minestom and JUnit versions in the version catalog instead.

Why

mycelium-bom supplied the Minestom and JUnit versions, but it is not resolvable outside the organisation:

Location Result
repo.onelitefeather.dev/releases/…/mycelium-bom-1.7.1.pom 404
repo.onelitefeather.dev/onelitefeather-releases/… 401
Maven Central 404

Gradle records it in runtimeElements as a real dependency of the platform category, not as a constraint — so it is not just a build-time concern. Every consumer outside OneLiteFeather failed to resolve net.onelitefeather:minestom-extensions.

What changed

  • Versions declared directly in the catalog: net.minestom:minestom at 2026.07.22-26.2, JUnit at 6.1.2 (what the platform resolved to).
  • platform(libs.myclium.bom) removed from all four modules that declared it.
  • With the platform gone, nothing resolves from repo.onelitefeather.dev any more, so that repository is removed from dependencyResolutionManagement. Building this project no longer requires credentials. Publishing is untouched and still targets the same repository.
  • Issue template no longer points at the BOM for the Minestom version.

Verification

  • ./gradlew build — 54 tests pass
  • publishToMavenLocal — the POM and Gradle module metadata of minestom-extensions carry no dependencyManagement block; runtime dependencies are maven-resolver-* and slf4j-api, all publicly resolvable
  • The dependencyManagement block in minestom-extensions-bom is its own constraint list and unaffected

Note on the commit type

Typed fix: rather than build: on purpose — build: would not produce a Release Please entry, and this needs to ship for downstream consumers to resolve the library at all.

Context

This unblocks embedding LuckPerms as a Minestom extension: the LuckPerms fork cannot depend on minestom-extensions while its transitive platform is credential-gated.

mycelium-bom supplied the Minestom and JUnit versions, but it is not
resolvable without OneLiteFeather credentials: 404 on the public
repository path and on Maven Central, 401 behind auth. Gradle records it
as a real runtime dependency (platform category) rather than a
constraint, so every consumer outside the organisation failed to resolve
this library.

Versions are now declared in the catalog directly:
  - net.minestom:minestom  2026.07.22-26.2
  - JUnit                  6.1.2

With the platform gone, nothing resolves from repo.onelitefeather.dev any
more, so that repository is removed from dependencyResolutionManagement -
building this project no longer needs credentials at all. Publishing is
unaffected and still targets the same repository.

Verified: 54 tests pass, and the published POM and module metadata of
minestom-extensions carry no dependencyManagement block and only
publicly resolvable runtime dependencies.
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Test results

 18 files   18 suites   1m 41s ⏱️
 54 tests  54 ✅ 0 💤 0 ❌
162 runs  162 ✅ 0 💤 0 ❌

Results for commit b88f15b.

♻️ This comment has been updated with latest results.

@TheMeinerLP
TheMeinerLP merged commit 1b391df into main Aug 4, 2026
15 of 17 checks passed
@TheMeinerLP
TheMeinerLP deleted the drop-mycelium-bom branch August 4, 2026 15:12
@github-actions github-actions Bot mentioned this pull request Aug 4, 2026
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