Package | Description |
---|---|
org.apache.maven.shared.verifier |
Modifier and Type | Method and Description |
---|---|
void |
Verifier.execute()
Execute Maven.
|
void |
Verifier.executeGoal(String goal)
Deprecated.
will be removed.
For replacement please use: verifier.addCliArgument( "goal" ); verifier.execute(); |
void |
Verifier.executeGoal(String goal,
Map<String,String> envVars)
Deprecated.
will be removed.
For replacement please use: verifier.addCliArgument( "goal" ); verifier.setEnvironmentVariable( "key1", "value1" ); verifier.setEnvironmentVariable( "key2", "value2" ); verifier.execute(); |
void |
Verifier.executeGoals(List<String> goals)
Deprecated.
will be removed
For replacement please use: verifier.addCliArguments( "goal1", "goal2" ); verifier.execute(); |
void |
Verifier.executeGoals(List<String> goals,
Map<String,String> envVars)
Deprecated.
will be removed
For replacement please use: verifier.addCliArguments( "goal1", "goal2" ); verifier.setEnvironmentVariable( "key1", "value1" ); verifier.setEnvironmentVariable( "key2", "value2" ); verifier.execute(); |
String |
Verifier.getMavenVersion() |
List<String> |
Verifier.loadFile(File file,
boolean hasCommand) |
List<String> |
Verifier.loadFile(String basedir,
String filename,
boolean hasCommand) |
Properties |
Verifier.loadProperties(String filename) |
void |
Verifier.verify(boolean chokeOnErrorOutput) |
void |
Verifier.verifyArtifactContent(String groupId,
String artifactId,
String version,
String ext,
String content)
Verifies that the artifact given by its Maven coordinates exists and contains the given content.
|
void |
Verifier.verifyArtifactNotPresent(String groupId,
String artifactId,
String version,
String ext)
Verifies that the artifact given through its Maven coordinates does not exist.
|
void |
Verifier.verifyArtifactPresent(String groupId,
String artifactId,
String version,
String ext)
Verifies that the artifact given through its Maven coordinates exists.
|
void |
Verifier.verifyErrorFreeLog() |
void |
Verifier.verifyFileContentMatches(String file,
String regex)
Verifies the given file's content matches an regular expression.
|
void |
Verifier.verifyFileNotPresent(String file)
Verifies that the given file does not exist.
|
void |
Verifier.verifyFilePresent(String file)
Verifies that the given file exists.
|
void |
Verifier.verifyTextInLog(String text)
Throws an exception if the text is not present in the log.
|
Constructor and Description |
---|
Verifier(String basedir) |
Verifier(String basedir,
boolean debug) |
Verifier(String basedir,
String settingsFile) |
Verifier(String basedir,
String settingsFile,
boolean debug) |
Verifier(String basedir,
String settingsFile,
boolean debug,
boolean forkJvm) |
Verifier(String basedir,
String settingsFile,
boolean debug,
boolean forkJvm,
String[] defaultCliArguments) |
Verifier(String basedir,
String settingsFile,
boolean debug,
String mavenHome) |
Verifier(String basedir,
String settingsFile,
boolean debug,
String[] defaultCliArguments) |
Verifier(String basedir,
String settingsFile,
boolean debug,
String mavenHome,
String[] defaultCliArguments) |
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.