[ 
https://issues.apache.org/jira/browse/MNG-7570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619650#comment-17619650
 ] 

Konrad Windszus commented on MNG-7570:
--------------------------------------

As there is no filtering support in 
https://codehaus-plexus.github.io/plexus-classworlds/apidocs/index.html nor in 
the underlying UrlClassLoader, I am thinking about implementing a custom 
{{URLStreamHandler}} 
(https://docs.oracle.com/javase/8/docs/api/java/net/URLStreamHandler.html) 
which provides filtering on top of 
https://docs.oracle.com/javase/8/docs/api/java/net/JarURLConnection.html.

Such a URL can be used also from Plexus Classworlds.

> Allow a Maven plugin to require a Maven version through its plugin descriptor
> -----------------------------------------------------------------------------
>
>                 Key: MNG-7570
>                 URL: https://issues.apache.org/jira/browse/MNG-7570
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>              Labels: plugin-descriptor-1.1
>
> Although the minimum Maven version can be specified via pom's prerequisites 
> (https://maven.apache.org/pom.html#Prerequisites), there is currently no 
> element for this on the plugin descriptor. 
> I would suggest to slightly expand the plugin descriptor to include an 
> element there as well. If such an element is found it should take precedence 
> over pom prerequisites.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to