ruleInvoker = getRuleInvokerWithPom(filename);
}
protected RuleInvoker getRuleInvokerWithPom(String filename) throws IOException, XmlPullParserException {
MavenProject mavenProject = MavenProjectUtil.getMavenProjectFromPOM(filename);
return new RuleInvoker(mavenProject, new CachingModelFactory());
}