Resolve ItemsAdder from Maven Central and scope Oraxen and Nexo repos - #3083
Merged
Merged
Conversation
maven.devs.beer, repo.oraxen.com and repo.nexomc.com were declared as unscoped repositories, so Gradle queried them for every artifact in order. When maven.devs.beer returned HTTP 522, resolution aborted for Level, Nexo and Oraxen before their real repositories were reached, failing CI on PR #3082 for artifacts that host does not serve. Move the three repos into exclusiveContent blocks, matching the existing pattern for Dynmap, MomiRealms, FancyInnovations, Pyr and Clojars. Nexo's repo also hosts its team.unnamed transitives, so that group is included in the Nexo filter. With the host still down, a --refresh-dependencies resolution now fails only for dev.lone:api-itemsadder. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
ItemsAdder now publishes its API to Maven Central as beer.devs:itemsadder-api, per the author's dependency snippet page (https://maven-snippets.lonedev.workers.dev/?pkg=beer.devs%3Aitemsadder-api). The API package is unchanged (dev.lone.itemsadder.api), so only the coordinates change. Move to the latest stable release, 4.0.17, and drop the maven.devs.beer repository, which has been returning HTTP 522 and was the last thing blocking CI. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
Merged
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.



Problem
CI on #3082 failed twice in
compileJavadependency resolution (run):maven.devs.beer(the old ItemsAdder repo) is behind Cloudflare and its origin has been unreachable. Because it was declared as an unscoped repository, Gradle queried it for every artifact in order, and a 522 is a hard error rather than a miss. So resolution aborted for Level, Nexo and Oraxen before their actual repositories were reached.Fix
ItemsAdder moves to Maven Central. ItemsAdder now publishes its API as
beer.devs:itemsadder-apion Central (author's snippet page). The API package is unchanged (dev.lone.itemsadder.api), so only the coordinates change. Bumped to the latest stable release, 4.0.17, and removed themaven.devs.beerrepository entirely.Oraxen and Nexo repos are scoped.
repo.oraxen.comandrepo.nexomc.commove intoexclusiveContentblocks limited to the groups they host (io.th0rgal,com.nexomc), matching the existing pattern for Dynmap, MomiRealms, FancyInnovations, Pyr and Clojars. Nexo's repo also hosts itsteam.unnamed(creative-*) transitives, so that group is included in the Nexo filter. A fragile vendor host can no longer take unrelated artifacts down with it.Verification
dependencies --refresh-dependenciesoncompileClasspath: zero unresolved artifacts, withmaven.devs.beerstill returning 522.compileJava compileTestJava: passes againstitemsadder-api:4.0.17.DefaultPasteUtilTest(the only test touching ItemsAdder): 34 tests, 0 failures.🤖 Generated with Claude Code