laeubi commented on pull request #690:
URL: https://github.com/apache/maven/pull/690#issuecomment-1065215613


   > I would assume some kind of implicit inheritance wrt to extensions. 
Another way would be to create a realm that would have visibility on all 
extensions of the build and use that one for the whole build duration.
   
   I don't think all extensions should share the same class-space, especially 
with projects-scoped extension (in contrast to core-extension) they started to 
become only active after a while, there is a bootstrap phase in maven when 
there is actually no such thing like "project", also as explained before you 
most probably don't want that an extension magically becomes active just 
because another module defines it. If you like that an extension applies for 
all projects then it should be defined as a core-extension in 
`.mvn/extensions.xml` so they become part of the bootstrap-process.
   
   Thats also the reason why only core-extensions can participate in 
session-start because at that point there are no projects and thus any 
project-scoped extension is simply not accessible.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to