The maven-core artifact has a META-INF/plexus/components.xml that defines the
default implementations for all the components. One can create a plugin that
has it's own component.xml override and if a POM has this plugin configured
with extention->true then the override will occur.
I would like to take this a step further and somehow configure the default
maven installation to use a custom component.xml file with custom
implementations. For example, in the absence of a POM I would like the
archetype plugin to use my implementation of the Archetype interface instead of
the default one.
Is there a way to modify the default super POM that all POM's extend from to
use a custom plugin that defines new implementations for components? Is
modifying and creating a custom maven-core artifact the only way to change the
default implementations for components?