public abstract class PlexusModuleContributorFactory extends Object implements hudson.ExtensionPoint
Injecting custom plexus components, such as AbstractMavenLifecycleParticipant, allows plugins to
participate into the Maven internals more deeply.
PlexusModuleContributorFactorys are instantiated as singletons on the master, and whenever a new Maven
process starts, its createFor(AbstractBuild) method is called to instantiate PlexusModuleContributor,
which gets serialized on the master, then deserialized inside the Maven process, and then its
PlexusModuleContributor.getPlexusComponentJars() will be invoked to determine the additional classpaths.
and then run.
PlexusModuleContributor| Constructor and Description |
|---|
PlexusModuleContributorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static PlexusModuleContributor |
aggregate(hudson.model.AbstractBuild<?,?> context)
Returns a single
PlexusModuleContributor that aggregates all the registered
PlexusModuleContributors in the system. |
static hudson.ExtensionList<PlexusModuleContributorFactory> |
all()
Returns all the registered
PlexusModuleContributors. |
abstract PlexusModuleContributor |
createFor(hudson.model.AbstractBuild<?,?> context) |
public abstract PlexusModuleContributor createFor(hudson.model.AbstractBuild<?,?> context) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static hudson.ExtensionList<PlexusModuleContributorFactory> all()
PlexusModuleContributors.public static PlexusModuleContributor aggregate(hudson.model.AbstractBuild<?,?> context) throws IOException, InterruptedException
PlexusModuleContributor that aggregates all the registered
PlexusModuleContributors in the system. The instance is remoting portable.IOExceptionInterruptedExceptionCopyright © 2016–2017. All rights reserved.