Package hudson.maven

Class PlexusModuleContributorFactory

java.lang.Object
hudson.maven.PlexusModuleContributorFactory
All Implemented Interfaces:
ExtensionPoint

public abstract class PlexusModuleContributorFactory extends Object implements ExtensionPoint
Contributes additional code into Plexus container when we run Maven.

Injecting custom plexus components, such as AbstractMavenLifecycleParticipant, allows plugins to participate into the Maven internals more deeply.

Lifecycle

PlexusModuleContributorFactorys are instantiated as singletons on the controller, and whenever a new Maven process starts, its createFor(AbstractBuild) method is called to instantiate PlexusModuleContributor, which gets serialized on the controller, then deserialized inside the Maven process, and then its PlexusModuleContributor.getPlexusComponentJars() will be invoked to determine the additional classpaths. and then run.

Since:
1.521
Author:
Kohsuke Kawaguchi
See Also: