Package hudson.maven
Class PlexusModuleContributor
java.lang.Object
hudson.maven.PlexusModuleContributor
- All Implemented Interfaces:
Serializable
Contributes additional code into Plexus container when we run Maven.
This object gets serialized and is sent to Maven JVM to run.
- Since:
- 1.521
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected hudson.remoting.Channel
WhengetPlexusComponentJars()
is called, this field is set to the channel that represents the connection to the controller. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDesignates the list of URLs to be added to the classpath of the core plexus components that constitute Maven.static PlexusModuleContributor
static PlexusModuleContributor
Convenience method that creates aPlexusModuleContributor
object that adds the given files as classpaths.protected Object
-
Field Details
-
channel
protected transient hudson.remoting.Channel channelWhengetPlexusComponentJars()
is called, this field is set to the channel that represents the connection to the controller.
-
-
Constructor Details
-
PlexusModuleContributor
public PlexusModuleContributor()
-
-
Method Details
-
getPlexusComponentJars
Designates the list of URLs to be added to the classpath of the core plexus components that constitute Maven. -
readResolve
-
of
-
of
Convenience method that creates aPlexusModuleContributor
object that adds the given files as classpaths. These jar files must represent the files on the computer on which Maven process is running.
-