public class IncrementalBuildRule
extends org.apache.maven.plugin.testing.MojoRule
| Constructor and Description |
|---|
IncrementalBuildRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertBuildOutputs(File basedir,
String... paths)
Asserts specified paths were output during the build
|
void |
assertCarriedOverOutputs(File basedir,
String... paths) |
void |
assertDeletedOutputs(File basedir,
String... paths)
Asserts specified paths were deleted during the build
|
void |
assertMessages(File basedir,
String path,
String... messages)
Asserts messages were associated with the specified path during the build.
|
void |
executeMojo(File basedir,
String goal) |
void |
executeMojo(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.MojoExecution execution) |
IncrementalBuildLog |
getBuildContextLog() |
after, apply, before, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookup, lookupConfiguredMojo, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, readMavenProject, setupContainer, setupContainerConfiguration, setVariableValueToObjectpublic void executeMojo(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.MojoExecution execution)
throws Exception
Exceptionpublic void executeMojo(File basedir, String goal) throws Exception
executeMojo in class org.apache.maven.plugin.testing.MojoRuleExceptionpublic IncrementalBuildLog getBuildContextLog() throws Exception
Exceptionpublic void assertBuildOutputs(File basedir, String... paths) throws Exception
Exceptionpublic void assertDeletedOutputs(File basedir, String... paths) throws Exception
Exceptionpublic void assertCarriedOverOutputs(File basedir, String... paths) throws Exception
ExceptionCopyright © 2014. All Rights Reserved.