public void execute() throws MojoExecutionException, MojoFailureException {
try {
getLog().debug("Printing story "+ storyPath);
StoryLoader loader = new StoryLoader(storyParser, new BehavioursClassLoader(classpathElements));
StoryPrinter storyPrinter = new StoryPrinter(loader, new PlainTextRenderer(System.out));
storyPrinter.print(storyPath, storyPackage);
} catch (Exception e) {
throw new MojoExecutionException("Failed to print story "+storyPath+" with package "+storyPackage, e);
}
}