prudhvigodithi opened a new pull request, #15546:
URL: https://github.com/apache/lucene/pull/15546

   ### Description
   
   Here is the initial fix https://github.com/apache/lucene/pull/15542 only 
applied to `build-tools`, this fix now applies to 
`LuceneRootConfigurationPlugin` which should cover all the subprojects. This 
should resolve 
https://github.com/apache/lucene/issues/15541#issuecomment-3708137256.
   
   #### Tests to ensure the alternate maven repo is added
   ```
   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/
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to