Skip to content

Reduce unnecessary Maven repository lookups - #1555

Merged
BenCodez merged 1 commit into
masterfrom
build/restrict-snapshot-repositories
Aug 23, 2026
Merged

Reduce unnecessary Maven repository lookups#1555
BenCodez merged 1 commit into
masterfrom
build/restrict-snapshot-repositories

Conversation

@BenCodez

@BenCodez BenCodez commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace the obsolete oss.sonatype.org/content/groups/public pseudo-central repository with real Maven Central and put it first
  • remove the remaining oss.sonatype.org BungeeCord snapshot repository
  • make the Spigot repository snapshot-only so normal release dependencies are not probed there
  • disable snapshot resolution for Velocity, PlaceholderAPI, and Scarsz
  • keep BenCodez snapshot resolution available for advancedcore

Why

Both Jenkins and GitHub Actions stalled during Maven dependency resolution, which rules out a Jenkins-only failure.

The GitHub Actions log showed the Spigot snapshot resolving successfully, then Maven repeatedly probing custom repositories for ordinary release dependencies such as Guava, Gson, BungeeCord transitive artifacts, and Netty. The captured run eventually stopped while requesting io.netty:netty-parent:4.2.3.Final from the legacy oss.sonatype.org BungeeCord repository.

This change narrows each repository to the artifact type it actually needs and lets normal release dependencies resolve from Maven Central first. It does not assume the original Jenkins network was healthy; it removes avoidable dependency on unrelated/legacy repositories that can stall otherwise valid builds.

AdvancedCore had completed successfully shortly before the VotingPlugin stalls, including uploads to the BenCodez Nexus, so the BenCodez repository itself was responding during the incident.

@BenCodez
BenCodez force-pushed the build/restrict-snapshot-repositories branch 2 times, most recently from 8a9c8f8 to 39c0825 Compare August 23, 2026 19:01
@BenCodez BenCodez changed the title Reduce unnecessary Maven snapshot repository lookups Reduce unnecessary Maven repository lookups Aug 23, 2026
@BenCodez
BenCodez merged commit 32b2d12 into master Aug 23, 2026
5 checks passed
@BenCodez
BenCodez deleted the build/restrict-snapshot-repositories branch August 23, 2026 19:07
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