public class MavenClasspathHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
WORKING_FOLDER_PREFIX |
Constructor and Description |
---|
MavenClasspathHelper() |
Modifier and Type | Method and Description |
---|---|
Integer |
cleanupTempFolders() |
protected Path |
createWorkingDirectory() |
protected void |
deleteWorkingDirectory(Path tempDirectory) |
protected String |
executeMavenProcess(String workingDirectory,
List<String> cmd) |
String |
generateClasspathFromPom(String pom) |
protected String |
generateJavaCommand() |
String |
getBaseFolder() |
long |
getProcessCheckInterval() |
long |
getProcessMaxExecutionTime() |
void |
setBaseFolder(String baseFolder) |
void |
setProcessCheckInterval(long processCheckInterval) |
void |
setProcessMaxExecutionTime(long processMaxExecutionTime) |
public static final String WORKING_FOLDER_PREFIX
public String generateClasspathFromPom(String pom) throws Exception
Exception
protected String executeMavenProcess(String workingDirectory, List<String> cmd) throws IOException
IOException
protected Path createWorkingDirectory() throws IOException
IOException
protected void deleteWorkingDirectory(Path tempDirectory) throws IOException
IOException
public Integer cleanupTempFolders() throws IOException
IOException
public long getProcessCheckInterval()
public void setProcessCheckInterval(long processCheckInterval)
public long getProcessMaxExecutionTime()
public void setProcessMaxExecutionTime(long processMaxExecutionTime)
public String getBaseFolder()
public void setBaseFolder(String baseFolder)
protected String generateJavaCommand()
Copyright © 2019 JBoss by Red Hat. All rights reserved.