You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/10/18 15:25:00 UTC

[jira] (MNG-7570) Allow a Maven plugin to require a Maven version through its plugin descriptor

    [ https://issues.apache.org/jira/browse/MNG-7570 ]


    Konrad Windszus deleted comment on MNG-7570:
    --------------------------------------

was (Author: kwin):
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)