Skip to content

Conversation

@prudhvigodithi
Copy link
Contributor

@prudhvigodithi prudhvigodithi commented Jan 4, 2026

Description

Here is the initial fix #15542 only applied to build-tools, this fix now applies to LuceneRootConfigurationPlugin which should cover all the subprojects. This should resolve #15541 (comment).

Tests to ensure the alternate maven repo is added

This is just a high level test using init script.

cat > /tmp/repos.gradle << 'EOF'                                                
gradle.projectsEvaluated {
    rootProject.allprojects { p ->
        if (p.path == ':lucene:spatial-extras') {
            println "=== Repositories for ${p.path} ==="
            p.repositories.each { r ->
                if (r instanceof MavenArtifactRepository) {
                    println "  ${r.url}"
                }
            }
        }
    }
}
EOF
./gradlew -I /tmp/repos.gradle help -q

Before the fix

=== Repositories for :lucene:spatial-extras ===
  https://repo.maven.apache.org/maven2/

After the fix

=== Repositories for :lucene:spatial-extras ===
  https://repo.maven.apache.org/maven2/
  https://maven-central.storage-download.googleapis.com/maven2/

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
@prudhvigodithi prudhvigodithi marked this pull request as ready for review January 4, 2026 23:24
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
@prudhvigodithi prudhvigodithi marked this pull request as draft January 5, 2026 17:48
@dweiss
Copy link
Contributor

dweiss commented Jan 6, 2026

Thank you! I think this will be better though - #15550

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Builds on github reporting http 429

2 participants