Repository navigation
Update maven.yml to disable prefix filtering - #18
Merged
Merged
Conversation
paddywalsh
approved these changes
Oct 16, 2026
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.
Fix CI build failure after bumping gateway-framework to 2.7.0
Problem
After
gateway-frameworkwas bumped from 2.6.0 to 2.7.0 (#59), the “Build with Maven” step failed during dependency resolution:Cause
Recent Maven Resolver versions auto-discover a
.meta/prefixes.txtfile on each remote repository and refuse to fetch any path not listed in it. The prefixes file on https://download.diffusiondata.com/maven/ is stale (or doesn't exist): it doesn’t includecom/diffusiondata/gateway, even though the repository serves those artifacts.2.6.0 kept working only because it was restored from the
~/.m2cache, so it never reached the filter. 2.7.0 isn’t cached, so it was blocked.The “Update dependency graph” step confirms the cause. Its newer resolver checks the denied path, finds the artifact, and logs:
Fix (workaround)
Set
MAVEN_OPTS: -Daether.remoteRepositoryFilter.prefixes=falseat job level in.github/workflows/maven.yml, so it applies to both the build and the dependency-graph steps.