[
https://issues.apache.org/jira/browse/MNG-7572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619632#comment-17619632
]
Konrad Windszus commented on MNG-7572:
--------------------------------------
Maybe instead of having just a boolean toggle one should allow for more
finegrained exposure of classes via the core classloader (see MNG-7574) by only
exposing certain class name or package name patterns as extensions through the
core classloader.
[~hboutemy] Would that solve your concern with
https://github.com/apache/maven-apache-parent/pull/92#issuecomment-1179610376?
> Plugin descriptor should indicate if plugin has Maven extensions
> ----------------------------------------------------------------
>
> Key: MNG-7572
> URL: https://issues.apache.org/jira/browse/MNG-7572
> Project: Maven
> Issue Type: Improvement
> Components: Plugin API
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Labels: plugin-descriptor-1.1
>
> Currently each consumer needs to decide if a Maven plugin should be loaded
> with extensions or without by setting the extensions value accordingly
> (https://maven.apache.org/pom.html#Plugins).
> Instead the plugin descriptor should have a flag which indicates whether the
> plugin has extensions to load which should be automatically evaluated.
> That flag should determine the default behaviour for loading extensions
> (which can still be overridden for edge cases in the pom referencing the
> plugin with extensions element).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)