plugin:AbstractCheckMojo: include ruleset version on log line
This commit is contained in:
parent
87f74dec16
commit
e951d2c99b
1 changed files with 3 additions and 2 deletions
|
@ -107,8 +107,9 @@ public abstract class AbstractCheckMojo extends AbstractMojo {
|
||||||
val configLocation =
|
val configLocation =
|
||||||
MojoExecutor.element(CONFIG_LOCATION, String.format("net/kemitix/checkstyle-%s.xml", level));
|
MojoExecutor.element(CONFIG_LOCATION, String.format("net/kemitix/checkstyle-%s.xml", level));
|
||||||
|
|
||||||
getLog().info(
|
getLog().info(String.format("Running Checkstyle %s (sevntu: %s) with ruleset %s (%s)", checkstyleVersion,
|
||||||
String.format("Running Checkstyle %s (sevntu: %s) with %s", checkstyleVersion, sevntuVersion, level));
|
sevntuVersion, level, rulesetVersion
|
||||||
|
));
|
||||||
MojoExecutor.executeMojo(checkstylePlugin, "check", MojoExecutor.configuration(configLocation),
|
MojoExecutor.executeMojo(checkstylePlugin, "check", MojoExecutor.configuration(configLocation),
|
||||||
MojoExecutor.executionEnvironment(mavenProject, mavenSession, pluginManager)
|
MojoExecutor.executionEnvironment(mavenProject, mavenSession, pluginManager)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue