Skip to content
Permalink
Browse files
RAT-288: Remove logging output about deprecated debug option. Prefer …
…verbose instead. Thanks to M.Osipov.
  • Loading branch information
ottlinger committed Apr 16, 2022
1 parent cde161a commit 67687321d09678cafa84d586f82b094522d574fd
Showing 2 changed files with 6 additions and 3 deletions.
@@ -314,7 +314,7 @@ private void logAboutIncludedFiles(final String[] files) {
} else {
getLog().info(
files.length
+ " resources included (use -debug for more details)");
+ " resources included");
if (getLog().isDebugEnabled()) {
for (final String resource : files) {
getLog().debug(" - included " + resource);
@@ -406,7 +406,7 @@ private void setExcludes(DirectoryScanner ds) throws MojoExecutionException {
if (excludes == null || excludes.length == 0) {
getLog().info("No excludes explicitly specified.");
} else {
getLog().info(excludes.length + " explicit excludes (use -debug for more details).");
getLog().info(excludes.length + " explicit excludes.");
for (final String exclude : excludes) {
getLog().debug("Exclude: " + exclude);
}
@@ -454,7 +454,7 @@ private List<String> mergeDefaultExclusions() throws MojoExecutionException {
} else {
getLog().info(
results.size()
+ " implicit excludes (use -debug for more details).");
+ " implicit excludes.");
for (final String exclude : results) {
getLog().debug("Implicit exclude: " + exclude);
}
@@ -55,6 +55,9 @@ The <action> type attribute can be add,update,fix,remove.

<body>
<release version="0.14-SNAPSHOT" date="2020-xx-xx" description="Current SNAPSHOT - to be done">
<action issue="RAT-288" type="add" dev="pottlinger" due-to="Michael Osipov">
Adapt logging output to be more compliant with future Maven versions as debug is deprecated and verbose is the recommended way to go.
</action>
<action type="fix" issue="RAT-273" dev="jochen">
Some tests were based on the assumption, that the value of file.encoding
can be changed on runtime. (Won't work nowadays, beginning with Java 16.)

0 comments on commit 6768732

Please sign in to comment.