astefanutti edited a comment on issue #2966:
URL: https://github.com/apache/camel-k/issues/2966#issuecomment-1025770002


   Maven central is added by default to the "platform" Maven settings, so you 
have to disable it in your custom Maven settings, e.g.:
   
   ```xml
   <repositories>
       <repository>
           <id>central</id>
           <url>http://repo1.maven.org/maven2</url>
           <releases>
               <enabled>false</enabled>
           </releases>
           <snapshots>
               <enabled>false</enabled>
           </snapshots>
       </repository>    
   </repositories>
   <pluginRepositories>
       <pluginRepository>
           <id>central</id>
           <url>http://repo1.maven.org/maven2</url>
           <releases>
               <enabled>false</enabled>
           </releases>
           <snapshots>
               <enabled>false</enabled>
           </snapshots>
       </pluginRepository>
   </pluginRepositories>
   ```


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to