Skip to content

Reduce unnecessary Maven repository lookups - #80

Merged
BenCodez merged 1 commit into
mainfrom
build/restrict-maven-repositories
Aug 23, 2026
Merged

BenCodez merged 1 commit into
mainfrom
build/restrict-maven-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
  • remove the old oss.sonatype.org BungeeCord snapshot repository
  • make Spigot snapshot-only
  • remove the unused Velocity repository
  • disable snapshot resolution on CodeMC and JitPack
  • keep BenCodez snapshots enabled
  • update the stale advancedcore dependency from 3.8.1-SNAPSHOT to 3.8.2-SNAPSHOT

Why

VotingPlugin builds stalled on legacy/unrelated Maven repositories, including oss.sonatype.org. GraveStonesPlus had the same two Sonatype repository definitions directly in its POM, so it was exposed to the same failure mode.

The first CI run for this PR also exposed a separate cold-cache problem: 3.8.1-SNAPSHOT metadata on the BenCodez Nexus pointed at timestamped AdvancedCore build 3.8.1-20260607.202919-66, but that artifact/POM is no longer present. Jenkins could mask this with an existing local Maven cache. GraveStonesPlus now targets the current 3.8.2-SNAPSHOT, which is available from the BenCodez repository.

The failed run also showed ~20-second misses against the Velocity repository for unrelated dependencies. GraveStonesPlus has no direct Velocity dependency, so that repository is removed instead of remaining in the resolution chain.

@BenCodez
BenCodez force-pushed the build/restrict-maven-repositories branch from 4afa6cf to 1bc781f Compare August 23, 2026 19:23
@BenCodez
BenCodez merged commit b30e1ad into main Aug 23, 2026
1 check passed
@BenCodez
BenCodez deleted the build/restrict-maven-repositories branch August 23, 2026 19:24
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