hudson.maven
Class Maven3ProcessFactory
java.lang.Object
hudson.maven.AbstractMavenProcessFactory
hudson.maven.Maven3ProcessFactory
public class Maven3ProcessFactory
- extends AbstractMavenProcessFactory
- Author:
- Olivier Lamy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getMavenAgentClassPath
protected String getMavenAgentClassPath(Maven.MavenInstallation mvn,
boolean isMaster,
FilePath slaveRoot,
BuildListener listener)
throws IOException,
InterruptedException
- Description copied from class:
AbstractMavenProcessFactory
- Returns the classpath string for the maven-agent jar including classworlds
- Specified by:
getMavenAgentClassPath
in class AbstractMavenProcessFactory
- Throws:
IOException
InterruptedException
getMainClassName
protected String getMainClassName()
- Description copied from class:
AbstractMavenProcessFactory
- Returns the name of the Maven main class.
- Specified by:
getMainClassName
in class AbstractMavenProcessFactory
getMavenInterceptorClassPath
protected String getMavenInterceptorClassPath(Maven.MavenInstallation mvn,
boolean isMaster,
FilePath slaveRoot)
throws IOException,
InterruptedException
- Description copied from class:
AbstractMavenProcessFactory
- Returns the classpath string for the maven-interceptor jar
- Specified by:
getMavenInterceptorClassPath
in class AbstractMavenProcessFactory
- Throws:
IOException
InterruptedException
getMavenInterceptorOverride
protected String getMavenInterceptorOverride(Maven.MavenInstallation mvn,
boolean isMaster,
FilePath slaveRoot)
throws IOException,
InterruptedException
- Description copied from class:
AbstractMavenProcessFactory
- For Maven 2.1.x - 2.2.x we need an additional jar which overrides some classes in the other interceptor jar.
- Specified by:
getMavenInterceptorOverride
in class AbstractMavenProcessFactory
- Throws:
IOException
InterruptedException
newProcess
public ProcessCache.NewProcess newProcess(BuildListener listener,
OutputStream out)
throws IOException,
InterruptedException
- Parameters:
out
- The output from the process should be sent to this output stream.
- Throws:
IOException
InterruptedException
getMavenOpts
public String getMavenOpts()
getMavenInstallation
public Maven.MavenInstallation getMavenInstallation(TaskListener listener)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
getJava
public JDK getJava(TaskListener listener)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
Copyright © 2004-2013. All Rights Reserved.