Package org.apache.maven.it
Class Verifier
- java.lang.Object
-
- org.apache.maven.it.Verifier
-
public class Verifier extends java.lang.Object
- Version:
- $Id: Verifier.java 1683864 2015-06-05 20:41:57Z tibordigana $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
Verifier.UserModelReader
-
Field Summary
Fields Modifier and Type Field Description private boolean
autoclean
private java.lang.String
basedir
private java.util.List<java.lang.String>
cliOptions
private boolean
debug
private boolean
debugJvm
private static java.lang.String[]
DEFAULT_CLI_OPTIONS
private java.lang.String
defaultClasspath
private java.lang.String
defaultClassworldConf
private java.lang.String[]
defaultCliOptions
private java.lang.String
defaultMavenHome
private static MavenLauncher
embeddedLauncher
private java.util.Map<java.lang.String,java.lang.String>
environmentVariables
private java.io.ByteArrayOutputStream
errStream
private java.lang.Boolean
forkJvm
private java.lang.String
forkMode
private java.lang.String
localRepo
private java.lang.String
localRepoLayout
private static java.lang.String
LOG_FILENAME
private java.lang.String
logFileName
private static java.lang.String
MARKER
private boolean
mavenDebug
private java.io.PrintStream
originalErr
private java.io.PrintStream
originalOut
private java.io.ByteArrayOutputStream
outStream
private java.util.Properties
systemProperties
private java.util.Properties
verifierProperties
-
Constructor Summary
Constructors Modifier Constructor Description Verifier(java.lang.String basedir)
Verifier(java.lang.String basedir, boolean debug)
Verifier(java.lang.String basedir, java.lang.String settingsFile)
Verifier(java.lang.String basedir, java.lang.String settingsFile, boolean debug)
Verifier(java.lang.String basedir, java.lang.String settingsFile, boolean debug, boolean forkJvm)
Verifier(java.lang.String basedir, java.lang.String settingsFile, boolean debug, boolean forkJvm, java.lang.String[] defaultCliOptions)
private
Verifier(java.lang.String basedir, java.lang.String settingsFile, boolean debug, java.lang.Boolean forkJvm, java.lang.String[] defaultCliOptions)
Verifier(java.lang.String basedir, java.lang.String settingsFile, boolean debug, java.lang.String[] defaultCliOptions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addCliOption(java.lang.String option)
private static void
addMetadataToList(java.io.File dir, boolean hasCommand, java.util.List<java.lang.String> l, java.lang.String command)
void
assertArtifactContents(java.lang.String org, java.lang.String artifact, java.lang.String version, java.lang.String type, java.lang.String contents)
void
assertArtifactNotPresent(java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext)
void
assertArtifactPresent(java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext)
void
assertFileMatches(java.lang.String file, java.lang.String regex)
Check that given file's content matches an regular expression.void
assertFileNotPresent(java.lang.String file)
void
assertFilePresent(java.lang.String file)
void
deleteArtifact(java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext)
void
deleteArtifacts(java.lang.String gid)
Deletes all artifacts in the specified group id from the local repository.void
deleteArtifacts(java.lang.String gid, java.lang.String aid, java.lang.String version)
Deletes all artifacts in the specified g:a:v from the local repository.void
deleteDirectory(java.lang.String path)
Deletes the specified directory.private static java.util.List<java.lang.String>
discoverIntegrationTests(java.lang.String directory)
private void
displayLogFile()
void
displayStreamBuffers()
private void
executeCommand(java.lang.String line)
void
executeGoal(java.lang.String goal)
void
executeGoal(java.lang.String goal, java.util.Map<java.lang.String,java.lang.String> envVars)
void
executeGoals(java.util.List<java.lang.String> goals)
void
executeGoals(java.util.List<java.lang.String> goals, java.util.Map<java.lang.String,java.lang.String> envVars)
void
executeHook(java.lang.String filename)
java.io.File
filterFile(java.lang.String srcPath, java.lang.String dstPath, java.lang.String fileEncoding, java.util.Map<java.lang.String,java.lang.String> filterProperties)
Filters a text file by replacing some user-defined tokens.java.io.File
filterFile(java.lang.String srcPath, java.lang.String dstPath, java.lang.String fileEncoding, java.util.Properties filterProperties)
Deprecated.private void
findDefaultMavenHome()
private void
findLocalRepo(java.lang.String settingsFile)
java.util.List<java.lang.String>
getArtifactFileNameList(java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext)
java.lang.String
getArtifactMetadataPath(java.lang.String gid, java.lang.String aid)
Gets the path to the local artifact metadata.java.lang.String
getArtifactMetadataPath(java.lang.String gid, java.lang.String aid, java.lang.String version)
Gets the path to the local artifact metadata.java.lang.String
getArtifactMetadataPath(java.lang.String gid, java.lang.String aid, java.lang.String version, java.lang.String filename)
Gets the path to a file in the local artifact directory.private java.lang.String
getArtifactPath(java.lang.String artifact)
java.lang.String
getArtifactPath(java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext)
java.lang.String
getArtifactPath(java.lang.String gid, java.lang.String aid, java.lang.String version, java.lang.String ext, java.lang.String classifier)
Returns the absolute path to the artifact denoted by groupId, artifactId, version, extension and classifier.java.lang.String
getBasedir()
private java.util.List<java.net.URL>
getClasspath()
java.util.List<java.lang.String>
getCliOptions()
java.util.Map<java.lang.String,java.lang.String>
getEnvironmentVariables()
java.lang.String
getExecutable()
java.lang.String
getLocalRepoLayout()
java.lang.String
getLocalRepository()
private static java.lang.String
getLogContents(java.io.File logFile)
java.lang.String
getLogFileName()
Gets the name of the file used to log build output.private MavenLauncher
getMavenLauncher(java.util.Map<java.lang.String,java.lang.String> envVars)
java.lang.String
getMavenVersion()
java.util.Properties
getSystemProperties()
java.util.Properties
getVerifierProperties()
private void
initEmbeddedLauncher()
boolean
isAutoclean()
boolean
isDebugJvm()
boolean
isMavenDebug()
private static boolean
isVelocityError(java.lang.String line)
Checks whether the specified line is just an error message from Velocity.static void
launchSubversion(java.lang.String line, java.lang.String basedir)
java.util.List<java.lang.String>
loadFile(java.io.File file, boolean hasCommand)
java.util.List<java.lang.String>
loadFile(java.lang.String basedir, java.lang.String filename, boolean hasCommand)
java.util.List<java.lang.String>
loadLines(java.lang.String filename, java.lang.String encoding)
Loads the (non-empty) lines of the specified text file.java.util.Properties
loadProperties(java.lang.String filename)
static void
main(java.lang.String[] args)
java.util.Properties
newDefaultFilterProperties()
Gets a new copy of the default filter properties.private java.util.List<java.lang.String>
replaceArtifacts(java.lang.String line, boolean hasCommand)
void
resetStreams()
private java.lang.String
resolveCommandLineArg(java.lang.String key)
private static java.lang.String
retrieveLocalRepo(java.lang.String settingsXmlPath)
private static void
runIntegrationTest(Verifier verifier)
void
setAutoclean(boolean autoclean)
void
setCliOptions(java.util.List<java.lang.String> cliOptions)
void
setDebug(boolean debug)
void
setDebugJvm(boolean debugJvm)
void
setEnvironmentVariable(java.lang.String key, java.lang.String value)
void
setEnvironmentVariables(java.util.Map<java.lang.String,java.lang.String> environmentVariables)
void
setForkJvm(boolean forkJvm)
void
setLocalRepo(java.lang.String localRepo)
void
setLocalRepoLayout(java.lang.String localRepoLayout)
void
setLogFileName(java.lang.String logFileName)
Sets the name of the file used to log build output.void
setMavenDebug(boolean mavenDebug)
void
setSystemProperties(java.util.Properties systemProperties)
void
setSystemProperty(java.lang.String key, java.lang.String value)
void
setVerifierProperties(java.util.Properties verifierProperties)
void
verify(boolean chokeOnErrorOutput)
private void
verifyArtifactPresence(boolean wanted, java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext)
void
verifyErrorFreeLog()
private void
verifyExpectedResult(java.lang.String line)
private void
verifyExpectedResult(java.lang.String line, boolean wanted)
void
verifyTextInLog(java.lang.String text)
Throws an exception if the text is not present in the log.void
writeFile(java.lang.String path, java.lang.String contents)
Writes a text file with the specified contents.
-
-
-
Field Detail
-
LOG_FILENAME
private static final java.lang.String LOG_FILENAME
- See Also:
- Constant Field Values
-
DEFAULT_CLI_OPTIONS
private static final java.lang.String[] DEFAULT_CLI_OPTIONS
-
localRepo
private java.lang.String localRepo
-
basedir
private final java.lang.String basedir
-
outStream
private final java.io.ByteArrayOutputStream outStream
-
errStream
private final java.io.ByteArrayOutputStream errStream
-
defaultCliOptions
private final java.lang.String[] defaultCliOptions
-
originalOut
private java.io.PrintStream originalOut
-
originalErr
private java.io.PrintStream originalErr
-
cliOptions
private java.util.List<java.lang.String> cliOptions
-
systemProperties
private java.util.Properties systemProperties
-
environmentVariables
private java.util.Map<java.lang.String,java.lang.String> environmentVariables
-
verifierProperties
private java.util.Properties verifierProperties
-
autoclean
private boolean autoclean
-
localRepoLayout
private java.lang.String localRepoLayout
-
debug
private boolean debug
-
forkJvm
private java.lang.Boolean forkJvm
-
logFileName
private java.lang.String logFileName
-
defaultMavenHome
private java.lang.String defaultMavenHome
-
defaultClassworldConf
private java.lang.String defaultClassworldConf
-
defaultClasspath
private java.lang.String defaultClasspath
-
mavenDebug
private boolean mavenDebug
-
forkMode
private java.lang.String forkMode
-
debugJvm
private boolean debugJvm
-
embeddedLauncher
private static MavenLauncher embeddedLauncher
-
MARKER
private static final java.lang.String MARKER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Verifier
public Verifier(java.lang.String basedir) throws VerificationException
- Throws:
VerificationException
-
Verifier
public Verifier(java.lang.String basedir, boolean debug) throws VerificationException
- Throws:
VerificationException
-
Verifier
public Verifier(java.lang.String basedir, java.lang.String settingsFile) throws VerificationException
- Throws:
VerificationException
-
Verifier
public Verifier(java.lang.String basedir, java.lang.String settingsFile, boolean debug) throws VerificationException
- Throws:
VerificationException
-
Verifier
public Verifier(java.lang.String basedir, java.lang.String settingsFile, boolean debug, java.lang.String[] defaultCliOptions) throws VerificationException
- Throws:
VerificationException
-
Verifier
public Verifier(java.lang.String basedir, java.lang.String settingsFile, boolean debug, boolean forkJvm) throws VerificationException
- Throws:
VerificationException
-
Verifier
public Verifier(java.lang.String basedir, java.lang.String settingsFile, boolean debug, boolean forkJvm, java.lang.String[] defaultCliOptions) throws VerificationException
- Throws:
VerificationException
-
Verifier
private Verifier(java.lang.String basedir, java.lang.String settingsFile, boolean debug, java.lang.Boolean forkJvm, java.lang.String[] defaultCliOptions) throws VerificationException
- Throws:
VerificationException
-
-
Method Detail
-
findDefaultMavenHome
private void findDefaultMavenHome() throws VerificationException
- Throws:
VerificationException
-
setLocalRepo
public void setLocalRepo(java.lang.String localRepo)
-
resetStreams
public void resetStreams()
-
displayStreamBuffers
public void displayStreamBuffers()
-
verify
public void verify(boolean chokeOnErrorOutput) throws VerificationException
- Throws:
VerificationException
-
verifyErrorFreeLog
public void verifyErrorFreeLog() throws VerificationException
- Throws:
VerificationException
-
isVelocityError
private static boolean isVelocityError(java.lang.String line)
Checks whether the specified line is just an error message from Velocity. Especially old versions of Doxia employ a very noisy Velocity instance.- Parameters:
line
- The log line to check, must not benull
.- Returns:
true
if the line appears to be a Velocity error,false
otherwise.
-
verifyTextInLog
public void verifyTextInLog(java.lang.String text) throws VerificationException
Throws an exception if the text is not present in the log.- Parameters:
text
- the text to assert present- Throws:
VerificationException
-
loadProperties
public java.util.Properties loadProperties(java.lang.String filename) throws VerificationException
- Throws:
VerificationException
-
loadLines
public java.util.List<java.lang.String> loadLines(java.lang.String filename, java.lang.String encoding) throws java.io.IOException
Loads the (non-empty) lines of the specified text file.- Parameters:
filename
- The path to the text file to load, relative to the base directory, must not benull
.encoding
- The character encoding of the file, may benull
or empty to use the platform default encoding.- Returns:
- The list of (non-empty) lines from the text file, can be empty but never
null
. - Throws:
java.io.IOException
- If the file could not be loaded.- Since:
- 1.2
-
loadFile
public java.util.List<java.lang.String> loadFile(java.lang.String basedir, java.lang.String filename, boolean hasCommand) throws VerificationException
- Throws:
VerificationException
-
loadFile
public java.util.List<java.lang.String> loadFile(java.io.File file, boolean hasCommand) throws VerificationException
- Throws:
VerificationException
-
replaceArtifacts
private java.util.List<java.lang.String> replaceArtifacts(java.lang.String line, boolean hasCommand)
-
addMetadataToList
private static void addMetadataToList(java.io.File dir, boolean hasCommand, java.util.List<java.lang.String> l, java.lang.String command)
-
getArtifactPath
private java.lang.String getArtifactPath(java.lang.String artifact)
-
getArtifactPath
public java.lang.String getArtifactPath(java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext)
-
getArtifactPath
public java.lang.String getArtifactPath(java.lang.String gid, java.lang.String aid, java.lang.String version, java.lang.String ext, java.lang.String classifier)
Returns the absolute path to the artifact denoted by groupId, artifactId, version, extension and classifier.- Parameters:
gid
- The groupId, must not be null.aid
- The artifactId, must not be null.version
- The version, must not be null.ext
- The extension, must not be null.classifier
- The classifier, may be null to be omitted.- Returns:
- the absolute path to the artifact denoted by groupId, artifactId, version, extension and classifier, never null.
-
getArtifactFileNameList
public java.util.List<java.lang.String> getArtifactFileNameList(java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext)
-
getArtifactMetadataPath
public java.lang.String getArtifactMetadataPath(java.lang.String gid, java.lang.String aid, java.lang.String version)
Gets the path to the local artifact metadata. Note that the method does not check whether the returned path actually points to existing metadata.- Parameters:
gid
- The group id, must not benull
.aid
- The artifact id, must not benull
.version
- The artifact version, may benull
.- Returns:
- The (absolute) path to the local artifact metadata, never
null
.
-
getArtifactMetadataPath
public java.lang.String getArtifactMetadataPath(java.lang.String gid, java.lang.String aid, java.lang.String version, java.lang.String filename)
Gets the path to a file in the local artifact directory. Note that the method does not check whether the returned path actually points to an existing file.- Parameters:
gid
- The group id, must not benull
.aid
- The artifact id, may benull
.version
- The artifact version, may benull
.filename
- The filename to use, must not benull
.- Returns:
- The (absolute) path to the local artifact metadata, never
null
.
-
getArtifactMetadataPath
public java.lang.String getArtifactMetadataPath(java.lang.String gid, java.lang.String aid)
Gets the path to the local artifact metadata. Note that the method does not check whether the returned path actually points to existing metadata.- Parameters:
gid
- The group id, must not benull
.aid
- The artifact id, must not benull
.- Returns:
- The (absolute) path to the local artifact metadata, never
null
.
-
executeHook
public void executeHook(java.lang.String filename) throws VerificationException
- Throws:
VerificationException
-
executeCommand
private void executeCommand(java.lang.String line) throws VerificationException
- Throws:
VerificationException
-
launchSubversion
public static void launchSubversion(java.lang.String line, java.lang.String basedir) throws VerificationException
- Throws:
VerificationException
-
retrieveLocalRepo
private static java.lang.String retrieveLocalRepo(java.lang.String settingsXmlPath) throws VerificationException
- Throws:
VerificationException
-
deleteArtifact
public void deleteArtifact(java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext) throws java.io.IOException
- Throws:
java.io.IOException
-
deleteArtifacts
public void deleteArtifacts(java.lang.String gid) throws java.io.IOException
Deletes all artifacts in the specified group id from the local repository.- Parameters:
gid
- The group id whose artifacts should be deleted, must not benull
.- Throws:
java.io.IOException
- If the artifacts could not be deleted.- Since:
- 1.2
-
deleteArtifacts
public void deleteArtifacts(java.lang.String gid, java.lang.String aid, java.lang.String version) throws java.io.IOException
Deletes all artifacts in the specified g:a:v from the local repository.- Parameters:
gid
- The group id whose artifacts should be deleted, must not benull
.aid
- The artifact id whose artifacts should be deleted, must not benull
.version
- The (base) version whose artifacts should be deleted, must not benull
.- Throws:
java.io.IOException
- If the artifacts could not be deleted.- Since:
- 1.3
-
deleteDirectory
public void deleteDirectory(java.lang.String path) throws java.io.IOException
Deletes the specified directory.- Parameters:
path
- The path to the directory to delete, relative to the base directory, must not benull
.- Throws:
java.io.IOException
- If the directory could not be deleted.- Since:
- 1.2
-
writeFile
public void writeFile(java.lang.String path, java.lang.String contents) throws java.io.IOException
Writes a text file with the specified contents. The contents will be encoded using UTF-8.- Parameters:
path
- The path to the file, relative to the base directory, must not benull
.contents
- The contents to write, must not benull
.- Throws:
java.io.IOException
- If the file could not be written.- Since:
- 1.2
-
filterFile
public java.io.File filterFile(java.lang.String srcPath, java.lang.String dstPath, java.lang.String fileEncoding, java.util.Map<java.lang.String,java.lang.String> filterProperties) throws java.io.IOException
Filters a text file by replacing some user-defined tokens.- Parameters:
srcPath
- The path to the input file, relative to the base directory, must not benull
.dstPath
- The path to the output file, relative to the base directory and possibly equal to the input file, must not benull
.fileEncoding
- The file encoding to use, may benull
or empty to use the platform's default encoding.filterProperties
- The mapping from tokens to replacement values, must not benull
.- Returns:
- The path to the filtered output file, never
null
. - Throws:
java.io.IOException
- If the file could not be filtered.- Since:
- 1.2
-
filterFile
public java.io.File filterFile(java.lang.String srcPath, java.lang.String dstPath, java.lang.String fileEncoding, java.util.Properties filterProperties) throws java.io.IOException
Deprecated.There are 226 references to this method in Maven core ITs. In most (all?) cases it is used together withnewDefaultFilterProperties()
. Need to remove both methods and update all clients eventually/- Throws:
java.io.IOException
-
newDefaultFilterProperties
public java.util.Properties newDefaultFilterProperties()
Gets a new copy of the default filter properties. These default filter properties map the tokens "@basedir@" and "@baseurl@" to the test's base directory and its basefile:
URL, respectively.- Returns:
- The (modifiable) map with the default filter properties, never
null
. - Since:
- 1.2
-
assertFilePresent
public void assertFilePresent(java.lang.String file)
-
assertFileMatches
public void assertFileMatches(java.lang.String file, java.lang.String regex)
Check that given file's content matches an regular expression. Note this method also checks that the file exists and is readable.- Parameters:
file
- the file to check.regex
- a regular expression.- See Also:
Pattern
-
assertFileNotPresent
public void assertFileNotPresent(java.lang.String file)
-
verifyArtifactPresence
private void verifyArtifactPresence(boolean wanted, java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext)
-
assertArtifactPresent
public void assertArtifactPresent(java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext)
-
assertArtifactNotPresent
public void assertArtifactNotPresent(java.lang.String org, java.lang.String name, java.lang.String version, java.lang.String ext)
-
verifyExpectedResult
private void verifyExpectedResult(java.lang.String line) throws VerificationException
- Throws:
VerificationException
-
verifyExpectedResult
private void verifyExpectedResult(java.lang.String line, boolean wanted) throws VerificationException
- Throws:
VerificationException
-
executeGoal
public void executeGoal(java.lang.String goal) throws VerificationException
- Throws:
VerificationException
-
executeGoal
public void executeGoal(java.lang.String goal, java.util.Map<java.lang.String,java.lang.String> envVars) throws VerificationException
- Throws:
VerificationException
-
executeGoals
public void executeGoals(java.util.List<java.lang.String> goals) throws VerificationException
- Throws:
VerificationException
-
getExecutable
public java.lang.String getExecutable()
-
executeGoals
public void executeGoals(java.util.List<java.lang.String> goals, java.util.Map<java.lang.String,java.lang.String> envVars) throws VerificationException
- Throws:
VerificationException
-
getMavenLauncher
private MavenLauncher getMavenLauncher(java.util.Map<java.lang.String,java.lang.String> envVars) throws LauncherException
- Throws:
LauncherException
-
initEmbeddedLauncher
private void initEmbeddedLauncher() throws LauncherException
- Throws:
LauncherException
-
getClasspath
private java.util.List<java.net.URL> getClasspath() throws LauncherException
- Throws:
LauncherException
-
getMavenVersion
public java.lang.String getMavenVersion() throws VerificationException
- Throws:
VerificationException
-
getLogContents
private static java.lang.String getLogContents(java.io.File logFile)
-
resolveCommandLineArg
private java.lang.String resolveCommandLineArg(java.lang.String key)
-
discoverIntegrationTests
private static java.util.List<java.lang.String> discoverIntegrationTests(java.lang.String directory) throws VerificationException
- Throws:
VerificationException
-
displayLogFile
private void displayLogFile()
-
main
public static void main(java.lang.String[] args) throws VerificationException
- Throws:
VerificationException
-
findLocalRepo
private void findLocalRepo(java.lang.String settingsFile) throws VerificationException
- Throws:
VerificationException
-
runIntegrationTest
private static void runIntegrationTest(Verifier verifier) throws VerificationException
- Throws:
VerificationException
-
assertArtifactContents
public void assertArtifactContents(java.lang.String org, java.lang.String artifact, java.lang.String version, java.lang.String type, java.lang.String contents) throws java.io.IOException
- Throws:
java.io.IOException
-
getCliOptions
public java.util.List<java.lang.String> getCliOptions()
-
setCliOptions
public void setCliOptions(java.util.List<java.lang.String> cliOptions)
-
addCliOption
public void addCliOption(java.lang.String option)
-
getSystemProperties
public java.util.Properties getSystemProperties()
-
setSystemProperties
public void setSystemProperties(java.util.Properties systemProperties)
-
setSystemProperty
public void setSystemProperty(java.lang.String key, java.lang.String value)
-
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)
-
setEnvironmentVariable
public void setEnvironmentVariable(java.lang.String key, java.lang.String value)
-
getVerifierProperties
public java.util.Properties getVerifierProperties()
-
setVerifierProperties
public void setVerifierProperties(java.util.Properties verifierProperties)
-
isAutoclean
public boolean isAutoclean()
-
setAutoclean
public void setAutoclean(boolean autoclean)
-
getBasedir
public java.lang.String getBasedir()
-
getLogFileName
public java.lang.String getLogFileName()
Gets the name of the file used to log build output.- Returns:
- The name of the log file, relative to the base directory, never
null
. - Since:
- 1.2
-
setLogFileName
public void setLogFileName(java.lang.String logFileName)
Sets the name of the file used to log build output.- Parameters:
logFileName
- The name of the log file, relative to the base directory, must not be empty ornull
.- Since:
- 1.2
-
setDebug
public void setDebug(boolean debug)
-
isMavenDebug
public boolean isMavenDebug()
-
setMavenDebug
public void setMavenDebug(boolean mavenDebug)
-
setForkJvm
public void setForkJvm(boolean forkJvm)
-
isDebugJvm
public boolean isDebugJvm()
-
setDebugJvm
public void setDebugJvm(boolean debugJvm)
-
getLocalRepoLayout
public java.lang.String getLocalRepoLayout()
-
setLocalRepoLayout
public void setLocalRepoLayout(java.lang.String localRepoLayout)
-
getLocalRepository
public java.lang.String getLocalRepository()
-
-