Repository navigation
Resolve runtime libraries from Maven Central only; default to Moss 1.2.3 - #51
Merged
Merged
Conversation
… Moss 1.2.3 PaperPluginLoader no longer adds the repo.moonrise.gg releases and snapshots repositories at server start: the engine's runtime libraries all come from Maven Central through Paper's Central mirror, and a plugin that needs another repository adds it in addLibraries. The default Moss moves to 1.2.3, the first Moss release on Maven Central (1.2.2 exists only on repo.moonrise.gg). The build resolves Moss 1.2.3 from Maven Central for every module and drops the Moonrise repositories; publishing to Nexus is unchanged. Version 1.10.2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PaperPluginLoaderno longer addsrepo.moonrise.gg(releases and snapshots) when the server starts. The engine's runtime libraries all come from Maven Central, through Paper's Central mirror (PAPER_DEFAULT_CENTRAL_REPOSITORY, theLibraryLoader.centralURLproperty, or Google's mirror). A plugin that needs another repository can add it inaddLibraries(MavenLibraryResolver).1.2.3, the first Moss release on Maven Central.1.2.2exists only onrepo.moonrise.gg, so without this bump the loader could not find it once the Moonrise repositories are gone.1.2.3has the same classes as1.2.2: the jar entries are identical, compared byte for byte.1.2.3from Central and no longer declares the Moonrise repositories. Publishing to Nexus is unchanged.1.10.2. The README installation section covers Central only, plus a new "Runtime libraries" note.Release blocker
At server start, libraries come from Paper's Central mirror (
maven-central.storage-download.googleapis.com), not fromrepo1.maven.org. On 2026-11-19 that mirror still answered 404 forgg/moonrise/moss/moss-paper/1.2.3/moss-paper-1.2.3.pom. Wait to release 1.10.2 until it answers 200. A server running 1.10.2 before then cannot resolve Moss and will fail to start:Tests
./gradlew build: 193 tests, 0 failures.PaperPluginLoaderTestcases:resolvesOnlyFromTheMavenCentralMirror: the only repository iscentral.defaultMossIsTheFirstReleaseOnMavenCentral: the default Moss ismoss-paper:1.2.3.