pluginParameterExpressionEvaluator = new PluginParameterExpressionEvaluator(session, mojoExecution);
getContext().getBeanFactory().registerResolvableDependency(PluginParameterExpressionEvaluator.class,pluginParameterExpressionEvaluator);
init();
ResultCollector resultCollector = getContext().getBean(ResultCollector.class);
executeRules(resultCollector);
List<String> outputReports = fillOutputReports(resultCollector);
if (failOnViolation && resultCollector.hasViolations()) {
final String message = generateErrorMessage(outputReports);
throw new MojoFailureException(message);
}
}