Package org.apache.maven.plugin.surefire
Class AbstractSurefireMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugin.surefire.AbstractSurefireMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,SurefireExecutionParameters
public abstract class AbstractSurefireMojo extends org.apache.maven.plugin.AbstractMojo implements SurefireExecutionParameters
Abstract base class for running tests using Surefire.- Version:
- $Id: SurefirePlugin.java 945065 2010-05-17 10:26:22Z stephenc $
- Author:
- Stephen Connolly
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.FilebasedirThe base directory of the project being tested.static java.lang.StringFORK_NUMBER_PLACEHOLDERThe placeholder that is replaced by the executing fork's running number.protected booleanskipSet this to "true" to bypass unit tests entirely.protected booleanskipExecDeprecated.Use skipTests instead.protected booleanskipTestsSet this to "true" to skip running tests, but still compile them.protected java.io.FiletestClassesDirectoryThe directory containing generated test classes of the project being tested.static java.lang.StringTHREAD_NUMBER_PLACEHOLDERThe placeholder that is replaced by the executing thread's running number.
-
Constructor Summary
Constructors Constructor Description AbstractSurefireMojo()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddPluginSpecificChecksumItems(ChecksumCalculator checksum)protected voidcleanupForkConfiguration(ForkConfiguration forkConfiguration)protected intconvertWithCoreCount(java.lang.String count)static SurefirePropertiescreateCopyAndReplaceForkNumPlaceholder(SurefireProperties effectiveSystemProperties, int threadNumber)protected java.util.List<ProviderInfo>createProviders()booleaneffectiveIsEnableAssertions()voidexecute()java.lang.String[]getAdditionalClasspathElements()java.lang.StringgetArgLine()org.apache.maven.artifact.factory.ArtifactFactorygetArtifactFactory()org.apache.maven.artifact.resolver.ArtifactResolvergetArtifactResolver()protected org.apache.maven.surefire.booter.ClassLoaderConfigurationgetClassLoaderConfiguration()java.lang.String[]getClasspathDependencyExcludes()java.lang.StringgetClasspathDependencyScopeExclude()protected PluginConsoleLoggergetConsoleLogger()protected abstract java.lang.String[]getDefaultIncludes()java.lang.String[]getDependenciesToScan()protected intgetEffectiveForkCount()java.util.Map<java.lang.String,java.lang.String>getEnvironmentVariables()java.lang.StringgetExcludedGroups()java.util.List<java.lang.String>getExcludes()abstract java.io.FilegetExcludesFile()java.lang.BooleangetFailIfNoTests()java.lang.StringgetForkCount()java.lang.StringgetForkMode()java.lang.StringgetGroups()abstract java.util.List<java.lang.String>getIncludes()abstract java.io.FilegetIncludesFile()java.lang.StringgetJunitArtifactName()java.lang.StringgetJunitPlatformArtifactName()java.lang.StringgetJvm()org.apache.maven.artifact.repository.ArtifactRepositorygetLocalRepository()org.apache.maven.artifact.metadata.ArtifactMetadataSourcegetMetadataSource()protected abstract org.apache.maven.artifact.ArtifactgetMojoArtifact()java.lang.StringgetObjectFactory()java.lang.StringgetParallel()booleangetPerCoreThreadCount()java.util.Map<java.lang.String,org.apache.maven.artifact.Artifact>getPluginArtifactMap()org.apache.maven.plugin.descriptor.PluginDescriptorgetPluginDescriptor()protected abstract java.lang.StringgetPluginName()org.apache.maven.project.MavenProjectgetProject()java.util.Map<java.lang.String,org.apache.maven.artifact.Artifact>getProjectArtifactMap()java.io.FilegetProjectBuildDirectory()java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>getRemoteRepositories()java.lang.StringgetReportNameSuffix()protected abstract java.lang.StringgetReportSchemaLocation()protected abstract intgetRerunFailingTestsCount()abstract java.lang.StringgetRunOrder()org.apache.maven.execution.MavenSessiongetSession()org.apache.maven.surefire.testset.TestListResolvergetSpecificTests()java.io.FilegetStatisticsFile(java.lang.String configurationHash)abstract java.io.File[]getSuiteXmlFiles()java.util.PropertiesgetSystemProperties()java.io.FilegetSystemPropertiesFile()java.util.Map<java.lang.String,java.lang.String>getSystemPropertyVariables()java.lang.StringgetTempDir()java.lang.StringgetTestNGArtifactName()java.io.FilegetTestSourceDirectory()intgetThreadCount()intgetThreadCountClasses()intgetThreadCountMethods()intgetThreadCountSuites()org.apache.maven.toolchain.ToolchainManagergetToolchainManager()booleangetUseUnlimitedThreads()java.io.FilegetWorkingDirectory()protected abstract voidhandleSummary(org.apache.maven.surefire.suite.RunResult summary, java.lang.Exception firstForkException)protected booleanhasExecutedBefore()protected abstract booleanhasSuiteXmlFiles()protected booleanisAnyConcurrencySelected()protected booleanisAnyGroupsSelected()booleanisChildDelegation()booleanisDisableXmlReport()booleanisEnableAssertions()protected booleanisForking()booleanisMavenParallel()booleanisParallelOptimized()booleanisRedirectTestOutputToFile()booleanisReuseForks()protected abstract booleanisSkipExecution()booleanisTrimStackTrace()protected voidlogDebugOrCliShowErrors(java.lang.String s)protected voidlogReportsDirectory()voidsetAdditionalClasspathElements(java.lang.String[] additionalClasspathElements)voidsetArgLine(java.lang.String argLine)voidsetArtifactFactory(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory)voidsetArtifactResolver(org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver)voidsetChildDelegation(boolean childDelegation)voidsetClasspathDependencyExcludes(java.lang.String[] classpathDependencyExcludes)voidsetClasspathDependencyScopeExclude(java.lang.String classpathDependencyScopeExclude)voidsetDependenciesToScan(java.lang.String[] dependenciesToScan)voidsetDisableXmlReport(boolean disableXmlReport)voidsetEnableAssertions(boolean enableAssertions)voidsetEnvironmentVariables(java.util.Map<java.lang.String,java.lang.String> environmentVariables)voidsetExcludedGroups(java.lang.String excludedGroups)voidsetExcludes(java.util.List<java.lang.String> excludes)voidsetFailIfNoTests(boolean failIfNoTests)voidsetForkMode(java.lang.String forkMode)voidsetGroups(java.lang.String groups)abstract voidsetIncludes(java.util.List<java.lang.String> includes)voidsetJunitArtifactName(java.lang.String junitArtifactName)voidsetJunitPlatformArtifactName(java.lang.String junitPlatformArtifactName)voidsetLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)voidsetMetadataSource(org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource)voidsetObjectFactory(java.lang.String objectFactory)voidsetParallel(java.lang.String parallel)voidsetParallelOptimized(boolean parallelOptimized)voidsetPerCoreThreadCount(boolean perCoreThreadCount)voidsetPluginArtifactMap(java.util.Map<java.lang.String,org.apache.maven.artifact.Artifact> pluginArtifactMap)voidsetProject(org.apache.maven.project.MavenProject project)voidsetProjectArtifactMap(java.util.Map<java.lang.String,org.apache.maven.artifact.Artifact> projectArtifactMap)voidsetProjectBuildDirectory(java.io.File projectBuildDirectory)voidsetProperties(java.util.Properties properties)voidsetRedirectTestOutputToFile(boolean redirectTestOutputToFile)voidsetRemoteRepositories(java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)voidsetReportNameSuffix(java.lang.String reportNameSuffix)abstract voidsetRunOrder(java.lang.String runOrder)voidsetSession(org.apache.maven.execution.MavenSession session)abstract voidsetSuiteXmlFiles(java.io.File[] suiteXmlFiles)voidsetSystemProperties(java.util.Properties systemProperties)voidsetSystemPropertiesFile(java.io.File systemPropertiesFile)voidsetSystemPropertyVariables(java.util.Map<java.lang.String,java.lang.String> systemPropertyVariables)voidsetTempDir(java.lang.String tempDir)voidsetTestNGArtifactName(java.lang.String testNGArtifactName)voidsetTestSourceDirectory(java.io.File testSourceDirectory)voidsetThreadCount(int threadCount)voidsetThreadCountClasses(int threadCountClasses)voidsetThreadCountMethods(int threadCountMethods)voidsetThreadCountSuites(int threadCountSuites)voidsetToolchainManager(org.apache.maven.toolchain.ToolchainManager toolchainManager)voidsetTrimStackTrace(boolean trimStackTrace)voidsetUseUnlimitedThreads(boolean useUnlimitedThreads)voidsetWorkingDirectory(java.io.File workingDirectory)protected abstract java.util.List<java.io.File>suiteXmlFiles()CallsgetSuiteXmlFiles()aslist.-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.maven.plugin.surefire.SurefireExecutionParameters
getBasedir, getClassesDirectory, getDebugForkedProcess, getEncoding, getFailIfNoSpecifiedTests, getForkedProcessExitTimeoutInSeconds, getForkedProcessTimeoutInSeconds, getParallelTestsTimeoutForcedInSeconds, getParallelTestsTimeoutInSeconds, getReportFormat, getReportsDirectory, getShutdown, getSkipAfterFailureCount, getTest, getTestClassesDirectory, isPrintSummary, isSkip, isSkipExec, isSkipTests, isUseFile, isUseManifestOnlyJar, isUseSystemClassLoader, setBasedir, setClassesDirectory, setDebugForkedProcess, setEncoding, setFailIfNoSpecifiedTests, setForkedProcessExitTimeoutInSeconds, setForkedProcessTimeoutInSeconds, setParallelTestsTimeoutForcedInSeconds, setParallelTestsTimeoutInSeconds, setPrintSummary, setReportFormat, setReportsDirectory, setSkip, setSkipExec, setSkipTests, setTest, setTestClassesDirectory, setUseFile, setUseManifestOnlyJar, setUseSystemClassLoader
-
-
-
-
Field Detail
-
skipTests
@Parameter(property="skipTests", defaultValue="false") protected boolean skipTestsSet this to "true" to skip running tests, but still compile them. Its use is NOT RECOMMENDED, but quite convenient on occasion.- Since:
- 2.4
-
skipExec
@Deprecated @Parameter(property="maven.test.skip.exec") protected boolean skipExec
Deprecated.Use skipTests instead.This old parameter is just likeskipTests, but bound to the old property "maven.test.skip.exec".- Since:
- 2.3
-
skip
@Parameter(property="maven.test.skip", defaultValue="false") protected boolean skipSet this to "true" to bypass unit tests entirely. Its use is NOT RECOMMENDED, especially if you enable it using the "maven.test.skip" property, because maven.test.skip disables both running the tests and compiling the tests. Consider using theskipTestsparameter instead.
-
basedir
@Parameter(defaultValue="${basedir}") protected java.io.File basedirThe base directory of the project being tested. This can be obtained in your integration test via System.getProperty("basedir").
-
testClassesDirectory
@Parameter(defaultValue="${project.build.testOutputDirectory}") protected java.io.File testClassesDirectoryThe directory containing generated test classes of the project being tested. This will be included at the beginning of the test classpath. *
-
THREAD_NUMBER_PLACEHOLDER
public static final java.lang.String THREAD_NUMBER_PLACEHOLDER
The placeholder that is replaced by the executing thread's running number. The thread number range starts with 1 Deprecated.- See Also:
- Constant Field Values
-
FORK_NUMBER_PLACEHOLDER
public static final java.lang.String FORK_NUMBER_PLACEHOLDER
The placeholder that is replaced by the executing fork's running number. The fork number range starts with 1- See Also:
- Constant Field Values
-
-
Method Detail
-
getPluginName
protected abstract java.lang.String getPluginName()
-
getRerunFailingTestsCount
protected abstract int getRerunFailingTestsCount()
-
getIncludes
public abstract java.util.List<java.lang.String> getIncludes()
- Specified by:
getIncludesin interfaceSurefireExecutionParameters
-
getIncludesFile
public abstract java.io.File getIncludesFile()
-
setIncludes
public abstract void setIncludes(java.util.List<java.lang.String> includes)
- Specified by:
setIncludesin interfaceSurefireExecutionParameters
-
getExcludesFile
public abstract java.io.File getExcludesFile()
-
suiteXmlFiles
protected abstract java.util.List<java.io.File> suiteXmlFiles()
CallsgetSuiteXmlFiles()aslist. Never returns null.- Returns:
- list of TestNG suite XML files provided by MOJO
-
hasSuiteXmlFiles
protected abstract boolean hasSuiteXmlFiles()
- Returns:
trueifsuite-xml files arrayis not empty.
-
getSuiteXmlFiles
public abstract java.io.File[] getSuiteXmlFiles()
-
setSuiteXmlFiles
public abstract void setSuiteXmlFiles(java.io.File[] suiteXmlFiles)
-
getRunOrder
public abstract java.lang.String getRunOrder()
-
setRunOrder
public abstract void setRunOrder(java.lang.String runOrder)
-
handleSummary
protected abstract void handleSummary(org.apache.maven.surefire.suite.RunResult summary, java.lang.Exception firstForkException) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
isSkipExecution
protected abstract boolean isSkipExecution()
-
getDefaultIncludes
protected abstract java.lang.String[] getDefaultIncludes()
-
getReportSchemaLocation
protected abstract java.lang.String getReportSchemaLocation()
-
getMojoArtifact
protected abstract org.apache.maven.artifact.Artifact getMojoArtifact()
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getConsoleLogger
@Nonnull protected final PluginConsoleLogger getConsoleLogger()
-
createProviders
protected java.util.List<ProviderInfo> createProviders() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionException
-
createCopyAndReplaceForkNumPlaceholder
public static SurefireProperties createCopyAndReplaceForkNumPlaceholder(SurefireProperties effectiveSystemProperties, int threadNumber)
-
cleanupForkConfiguration
protected void cleanupForkConfiguration(ForkConfiguration forkConfiguration)
-
logReportsDirectory
protected void logReportsDirectory()
-
isAnyConcurrencySelected
protected boolean isAnyConcurrencySelected()
-
isAnyGroupsSelected
protected boolean isAnyGroupsSelected()
-
isForking
protected boolean isForking()
-
getStatisticsFile
public java.io.File getStatisticsFile(java.lang.String configurationHash)
-
getSpecificTests
public org.apache.maven.surefire.testset.TestListResolver getSpecificTests()
-
getEffectiveForkCount
protected int getEffectiveForkCount()
-
convertWithCoreCount
protected int convertWithCoreCount(java.lang.String count)
-
addPluginSpecificChecksumItems
protected void addPluginSpecificChecksumItems(ChecksumCalculator checksum)
-
hasExecutedBefore
protected boolean hasExecutedBefore()
-
getClassLoaderConfiguration
@Nonnull protected org.apache.maven.surefire.booter.ClassLoaderConfiguration getClassLoaderConfiguration()
-
getExcludes
public java.util.List<java.lang.String> getExcludes()
- Specified by:
getExcludesin interfaceSurefireExecutionParameters
-
setExcludes
public void setExcludes(java.util.List<java.lang.String> excludes)
- Specified by:
setExcludesin interfaceSurefireExecutionParameters
-
getLocalRepository
public org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
- Specified by:
getLocalRepositoryin interfaceSurefireExecutionParameters
-
setLocalRepository
public void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
- Specified by:
setLocalRepositoryin interfaceSurefireExecutionParameters
-
getSystemProperties
public java.util.Properties getSystemProperties()
-
setSystemProperties
public void setSystemProperties(java.util.Properties systemProperties)
-
getSystemPropertyVariables
public java.util.Map<java.lang.String,java.lang.String> getSystemPropertyVariables()
-
setSystemPropertyVariables
public void setSystemPropertyVariables(java.util.Map<java.lang.String,java.lang.String> systemPropertyVariables)
-
getSystemPropertiesFile
public java.io.File getSystemPropertiesFile()
-
setSystemPropertiesFile
public void setSystemPropertiesFile(java.io.File systemPropertiesFile)
-
setProperties
public void setProperties(java.util.Properties properties)
-
getPluginArtifactMap
public java.util.Map<java.lang.String,org.apache.maven.artifact.Artifact> getPluginArtifactMap()
-
setPluginArtifactMap
public void setPluginArtifactMap(java.util.Map<java.lang.String,org.apache.maven.artifact.Artifact> pluginArtifactMap)
-
getProjectArtifactMap
public java.util.Map<java.lang.String,org.apache.maven.artifact.Artifact> getProjectArtifactMap()
-
setProjectArtifactMap
public void setProjectArtifactMap(java.util.Map<java.lang.String,org.apache.maven.artifact.Artifact> projectArtifactMap)
-
getReportNameSuffix
public java.lang.String getReportNameSuffix()
-
setReportNameSuffix
public void setReportNameSuffix(java.lang.String reportNameSuffix)
-
isRedirectTestOutputToFile
public boolean isRedirectTestOutputToFile()
-
setRedirectTestOutputToFile
public void setRedirectTestOutputToFile(boolean redirectTestOutputToFile)
-
getFailIfNoTests
public java.lang.Boolean getFailIfNoTests()
-
setFailIfNoTests
public void setFailIfNoTests(boolean failIfNoTests)
-
getForkMode
public java.lang.String getForkMode()
-
setForkMode
public void setForkMode(java.lang.String forkMode)
-
getJvm
public java.lang.String getJvm()
-
getArgLine
public java.lang.String getArgLine()
-
setArgLine
public void setArgLine(java.lang.String argLine)
-
getEnvironmentVariables
public java.util.Map<java.lang.String,java.lang.String> getEnvironmentVariables()
-
setEnvironmentVariables
public void setEnvironmentVariables(java.util.Map<java.lang.String,java.lang.String> environmentVariables)
-
getWorkingDirectory
public java.io.File getWorkingDirectory()
-
setWorkingDirectory
public void setWorkingDirectory(java.io.File workingDirectory)
-
isChildDelegation
public boolean isChildDelegation()
-
setChildDelegation
public void setChildDelegation(boolean childDelegation)
-
getGroups
public java.lang.String getGroups()
-
setGroups
public void setGroups(java.lang.String groups)
-
getExcludedGroups
public java.lang.String getExcludedGroups()
-
setExcludedGroups
public void setExcludedGroups(java.lang.String excludedGroups)
-
getJunitArtifactName
public java.lang.String getJunitArtifactName()
-
setJunitArtifactName
public void setJunitArtifactName(java.lang.String junitArtifactName)
-
getJunitPlatformArtifactName
public java.lang.String getJunitPlatformArtifactName()
-
setJunitPlatformArtifactName
public void setJunitPlatformArtifactName(java.lang.String junitPlatformArtifactName)
-
getTestNGArtifactName
public java.lang.String getTestNGArtifactName()
-
setTestNGArtifactName
public void setTestNGArtifactName(java.lang.String testNGArtifactName)
-
getThreadCount
public int getThreadCount()
-
setThreadCount
public void setThreadCount(int threadCount)
-
getPerCoreThreadCount
public boolean getPerCoreThreadCount()
-
setPerCoreThreadCount
public void setPerCoreThreadCount(boolean perCoreThreadCount)
-
getUseUnlimitedThreads
public boolean getUseUnlimitedThreads()
-
setUseUnlimitedThreads
public void setUseUnlimitedThreads(boolean useUnlimitedThreads)
-
getParallel
public java.lang.String getParallel()
-
setParallel
public void setParallel(java.lang.String parallel)
-
isParallelOptimized
public boolean isParallelOptimized()
-
setParallelOptimized
public void setParallelOptimized(boolean parallelOptimized)
-
getThreadCountSuites
public int getThreadCountSuites()
-
setThreadCountSuites
public void setThreadCountSuites(int threadCountSuites)
-
getThreadCountClasses
public int getThreadCountClasses()
-
setThreadCountClasses
public void setThreadCountClasses(int threadCountClasses)
-
getThreadCountMethods
public int getThreadCountMethods()
-
setThreadCountMethods
public void setThreadCountMethods(int threadCountMethods)
-
isTrimStackTrace
public boolean isTrimStackTrace()
-
setTrimStackTrace
public void setTrimStackTrace(boolean trimStackTrace)
-
getArtifactResolver
public org.apache.maven.artifact.resolver.ArtifactResolver getArtifactResolver()
-
setArtifactResolver
public void setArtifactResolver(org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver)
-
getArtifactFactory
public org.apache.maven.artifact.factory.ArtifactFactory getArtifactFactory()
-
setArtifactFactory
public void setArtifactFactory(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory)
-
getRemoteRepositories
public java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> getRemoteRepositories()
-
setRemoteRepositories
public void setRemoteRepositories(java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
-
getMetadataSource
public org.apache.maven.artifact.metadata.ArtifactMetadataSource getMetadataSource()
-
setMetadataSource
public void setMetadataSource(org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource)
-
isDisableXmlReport
public boolean isDisableXmlReport()
-
setDisableXmlReport
public void setDisableXmlReport(boolean disableXmlReport)
-
isEnableAssertions
public boolean isEnableAssertions()
-
effectiveIsEnableAssertions
public boolean effectiveIsEnableAssertions()
-
setEnableAssertions
public void setEnableAssertions(boolean enableAssertions)
-
getSession
public org.apache.maven.execution.MavenSession getSession()
-
setSession
public void setSession(org.apache.maven.execution.MavenSession session)
-
getObjectFactory
public java.lang.String getObjectFactory()
-
setObjectFactory
public void setObjectFactory(java.lang.String objectFactory)
-
getToolchainManager
public org.apache.maven.toolchain.ToolchainManager getToolchainManager()
-
setToolchainManager
public void setToolchainManager(org.apache.maven.toolchain.ToolchainManager toolchainManager)
-
isMavenParallel
public boolean isMavenParallel()
-
getDependenciesToScan
public java.lang.String[] getDependenciesToScan()
-
setDependenciesToScan
public void setDependenciesToScan(java.lang.String[] dependenciesToScan)
-
getPluginDescriptor
public org.apache.maven.plugin.descriptor.PluginDescriptor getPluginDescriptor()
-
getProject
public org.apache.maven.project.MavenProject getProject()
-
setProject
public void setProject(org.apache.maven.project.MavenProject project)
-
getTestSourceDirectory
public java.io.File getTestSourceDirectory()
- Specified by:
getTestSourceDirectoryin interfaceSurefireExecutionParameters
-
setTestSourceDirectory
public void setTestSourceDirectory(java.io.File testSourceDirectory)
- Specified by:
setTestSourceDirectoryin interfaceSurefireExecutionParameters
-
getForkCount
public java.lang.String getForkCount()
-
isReuseForks
public boolean isReuseForks()
-
getAdditionalClasspathElements
public java.lang.String[] getAdditionalClasspathElements()
-
setAdditionalClasspathElements
public void setAdditionalClasspathElements(java.lang.String[] additionalClasspathElements)
-
getClasspathDependencyExcludes
public java.lang.String[] getClasspathDependencyExcludes()
-
setClasspathDependencyExcludes
public void setClasspathDependencyExcludes(java.lang.String[] classpathDependencyExcludes)
-
getClasspathDependencyScopeExclude
public java.lang.String getClasspathDependencyScopeExclude()
-
setClasspathDependencyScopeExclude
public void setClasspathDependencyScopeExclude(java.lang.String classpathDependencyScopeExclude)
-
getProjectBuildDirectory
public java.io.File getProjectBuildDirectory()
-
setProjectBuildDirectory
public void setProjectBuildDirectory(java.io.File projectBuildDirectory)
-
logDebugOrCliShowErrors
protected void logDebugOrCliShowErrors(java.lang.String s)
-
getTempDir
public java.lang.String getTempDir()
-
setTempDir
public void setTempDir(java.lang.String tempDir)
-
-