public abstract class PlexusModuleContributor extends Object implements Serializable
This object gets serialized and is sent to Maven JVM to run.
PlexusModuleContributorFactory,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected hudson.remoting.Channel |
channel
When
getPlexusComponentJars() is called, this field is set
to the channel that represents the connection to the master. |
| Constructor and Description |
|---|
PlexusModuleContributor() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<URL> |
getPlexusComponentJars()
Designates the list of URLs to be added to the classpath of the core plexus components
that constitute Maven.
|
static PlexusModuleContributor |
of(hudson.FilePath... jars) |
static PlexusModuleContributor |
of(List<hudson.FilePath> jars)
Convenience method that creates a
PlexusModuleContributor object
that adds the given files as classpaths. |
protected Object |
readResolve() |
protected transient hudson.remoting.Channel channel
getPlexusComponentJars() is called, this field is set
to the channel that represents the connection to the master.public abstract List<URL> getPlexusComponentJars()
protected Object readResolve()
public static PlexusModuleContributor of(hudson.FilePath... jars)
public static PlexusModuleContributor of(List<hudson.FilePath> jars)
PlexusModuleContributor object
that adds the given files as classpaths.
These jar files must represent the files on the computer on which Maven process is running.Copyright © 2016–2017. All rights reserved.