HannesWell commented on PR #215:
URL: https://github.com/apache/maven-archetype/pull/215#issuecomment-2692874706

   Is it intentional that this changes the logic how the `archetypeRepository` 
is selected among the specified `RemoteRepositoriey` in the 
`RemoteCatalogArchetypeDataSource`?
   
   Previously a repo with `ARCHETYPE_REPOSITORY_ID` was always preferred:
   
https://github.com/apache/maven-archetype/blob/cc906677b5539b538c7ae640d894142ecf57fdc0/archetype-common/src/main/java/org/apache/maven/archetype/source/RemoteCatalogArchetypeDataSource.java#L102-L109
   
   now always the first one one that is either `archetype` or `central` is 
selected:
   
https://github.com/apache/maven-archetype/blob/367a9fe79a6698c5a6fc1fbcbfb239819d5ba9c2/archetype-common/src/main/java/org/apache/maven/archetype/source/RemoteCatalogArchetypeDataSource.java#L90-L102


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