+ "cactify-noparameters/plugin-config.xml");
CactifyEarMojo mojo = (CactifyEarMojo) lookupMojo("cactifyear", testPom);
assertNotNull(mojo);
try
{
mojo.execute();
fail("Exception should have been raised!");
}
catch (MojoExecutionException mex)
{
assertEquals("You need to specify [srcFile] attribute for cactification!", mex.getMessage());