laeubi commented on PR #765:
URL: https://github.com/apache/maven/pull/765#issuecomment-1183274479

   Just wondering, is there a migration guide for those, e.g. using 
maven-compat? It would be good to include a link to this in the warning 
message, e.g. tycho uses maven-compat (or its dependencies) a lot but I often 
have no clue what is the alternative?
   
   Example `org.apache.maven.repository.MirrorSelector` is used looking at the 
code:
   
   ```
   /**
    * Handles the selection of mirrors for repositories.
    *
    * @author Benjamin Bentmann
    */
   public interface MirrorSelector
   {
   
       /**
        * Determines the mirror for the specified repository.
        *
        * @param repository The repository to determine the mirror for, must 
not be {@code null}.
        * @param mirrors The available mirrors, may be {@code null}.
        * @return The mirror specification for the repository or {@code null} 
if no mirror matched.
        */
       Mirror getMirror( ArtifactRepository repository, List<Mirror> mirrors );
   
   }
   ```
   
   1. **no deprecation**, so how should one know not to use it?
   2. **no indication** what to use instead
   


-- 
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: issues-unsubscr...@maven.apache.org

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

Reply via email to