public class Maven33Main extends Object
The actual Maven execution will be started by the program sent through remoting.
| Constructor and Description |
|---|
Maven33Main() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addPlexusComponents(URL[] modules)
Called by the code in remoting to add more plexus components.
|
static int |
launch(String[] args)
Called by the code in remoting to launch.
|
static void |
main(File m2Home,
File remotingJar,
File interceptorJar,
File interceptorCommonJar,
int tcpPort)
Deprecated.
|
static void |
main(File m2Home,
File remotingJar,
File interceptorJar,
File interceptorCommonJar,
String agentIp,
int tcpPort) |
static void |
main(String... args) |
@Deprecated public static void main(File m2Home, File remotingJar, File interceptorJar, File interceptorCommonJar, int tcpPort) throws Exception
Exceptionpublic static void main(File m2Home, File remotingJar, File interceptorJar, File interceptorCommonJar, String agentIp, int tcpPort) throws Exception
m2Home - Maven2 installation. This is where we find Maven jars that
we'll run.remotingJar - Hudson's remoting.jar that we'll load.interceptorJar - maven-listener.jar that we'll load.interceptorCommonJar - maven3-interceptor-commons.jar we'll loadagentIp - IP address the TCP socket is bound totcpPort - TCP socket that the launching Hudson will be listening to.
This is used for the remoting communication.Exceptionpublic static void addPlexusComponents(URL[] modules)
Copyright © 2004–2019. All rights reserved.