Skip to content

Commit 7aebb7c

Browse files
authored
Switch from WARN to DEBUG for empty maven targets (#1549)
2 parents 51ee9d4 + 62ddd9e commit 7aebb7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-maven/src/main/java/com/diffplug/spotless/maven/SpotlessApplyMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected void process(Iterable<File> files, Formatter formatter, UpToDateChecke
6666
getLog().info(String.format("Spotless.%s is keeping %s files clean - %s were changed to be clean, %s were already clean, %s were skipped because caching determined they were already clean",
6767
formatter.getName(), counter.getTotal(), counter.getCleaned(), counter.getCheckedButAlreadyClean(), counter.getSkippedAsCleanCache()));
6868
} else {
69-
getLog().warn(String.format("Spotless.%s has no target files. Examine your `<includes>`: https://github.com/diffplug/spotless/tree/main/plugin-maven#quickstart", formatter.getName()));
69+
getLog().debug(String.format("Spotless.%s has no target files. Examine your `<includes>`: https://github.com/diffplug/spotless/tree/main/plugin-maven#quickstart", formatter.getName()));
7070
}
7171
}
7272
}

0 commit comments

Comments
 (0)