| org.andromda.maven.plugin.cartridge.CartridgeTestMojo
CartridgeTestMojo | public class CartridgeTestMojo extends AbstractMojo (Code) | | Provides the ability to compare cartridge output with existing output.
author: Chad Brandon |
actualDirectory | protected String actualDirectory(Code) | | Specifies the directory that contains the "actual" output (meaning the output
that was currently generated)
|
archiverManager | protected ArchiverManager archiverManager(Code) | | To look up Archiver/UnArchiver implementations
|
expectedDirectory | protected String expectedDirectory(Code) | | Specifies the directory that contains the "expected" output.
|
expectedOutputArchive | protected String expectedOutputArchive(Code) | | The location of the archive storing the expected output.
|
localRepository | protected ArtifactRepository localRepository(Code) | | |
plugins | protected List plugins(Code) | | The registered plugin implementations.
|
skip | protected boolean skip(Code) | | Set this to 'true' to bypass cartridge tests entirely. Its use is NOT RECOMMENDED, but quite convenient on occasion.
|
execute | public void execute() throws MojoExecutionException, MojoFailureException(Code) | | See Also: org.apache.maven.plugin.Mojo.execute |
unpack | protected void unpack(File file, File location) throws MojoExecutionException(Code) | | Unpacks the expected archive file to the expected directory
Parameters: file - File to be unpacked. Parameters: location - Location where to put the unpacked files. |
|
|