[
https://issues.apache.org/jira/browse/MNG-6995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209388#comment-17209388
]
Michael Osipov commented on MNG-6995:
-------------------------------------
Here it is:
{noformat}
private List<CoreExtensionEntry> loadCoreExtensions( CliRequest cliRequest,
ClassRealm containerRealm,
Set<String>
providedArtifacts )
{
if ( cliRequest.multiModuleProjectDirectory == null )
{
return Collections.emptyList();
}
File extensionsFile = new File( cliRequest.multiModuleProjectDirectory,
EXTENSIONS_FILENAME );
if ( !extensionsFile.isFile() )
{
return Collections.emptyList();
}
{noformat}
> Core extensions ignored in modules of aggregator
> ------------------------------------------------
>
> Key: MNG-6995
> URL: https://issues.apache.org/jira/browse/MNG-6995
> Project: Maven
> Issue Type: Bug
> Components: Class Loading
> Affects Versions: 3.6.3
> Reporter: mike duigou
> Priority: Major
> Fix For: wontfix-candidate
>
>
> If you have defined core extensions using the MNG-5771 .mvn/extensions.xml
> mechanism and then include the module in an aggregator pom the extensions
> will be ignored. Only extensions defined in same directory as the aggregator
> pom will be used and those extensions will not be invoked for the modules,
> only for the aggregator itself.
> Ideally modules would have whatever extensions they defined.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)