else
{
getLog().info( "No post-archetype-generation goals to invoke." );
}
// verify result
ScriptRunner scriptRunner = new ScriptRunner( getLog() );
scriptRunner.setScriptEncoding( encoding );
Map<String, Object> context = new LinkedHashMap<String, Object>();
context.put( "projectDir", basedir );
try
{
scriptRunner.run( "post-build script", goalFile.getParentFile(), postBuildHookScript, context, logger,
"failure post script", true );
}
catch ( RunFailureException e )
{
throw new IntegrationTestFailure( "post build script failure failure: " + e.getMessage(), e );