lhotari commented on issue #23476:
URL: https://github.com/apache/pulsar/issues/23476#issuecomment-3532142463

   Based on LLM response, it should be possible to override Pulsar's repository 
settings with corporate maven repository using maven settings.xml.
   
   After #24981, there's 2 repository ids referenced in Pulsar's maven build, 
`central` and `confluent`. By setting a mirror for these in `settings.xml`, it 
should be possible to override the location.
   
   ```xml
   <settings>
       <mirrors>
           <mirror>
               <id>central-mirror</id>
               <url>https://repo.example.com/maven2</url>
               <mirrorOf>central</mirrorOf>
           </mirror>
           <mirror>
               <id>confluent-schema-registry-mirror</id>
               <url>https://repo.example.com/maven2</url>
               <mirrorOf>confluent</mirrorOf>
           </mirror>
       </mirrors>
   </settings>
   ```
   
   I haven't tested this myself.


-- 
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]

Reply via email to