You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/07/13 14:08:55 UTC

[GitHub] [maven] laeubi commented on pull request #765: Experiment: warn on ancient plugin

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-unsubscribe@maven.apache.org

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