Skip to content

Commit 07025ed

Browse files
authored
Merge pull request #787 from ascopes/task/log-non-fatal-dependency-warnings-as-debug-logs
Log non-fatal dependency warnings as debug warnings
2 parents 1146a23 + 41fc11b commit 07025ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/dependencies/aether

protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/dependencies/aether/AetherResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ private void reportWarnings(Iterable<? extends Exception> exceptions) {
224224
// We purposely log the warning class and message twice, since exception tracebacks are
225225
// hidden unless Maven was invoked with --errors.
226226
//noinspection LoggingPlaceholderCountMatchesArgumentCount
227-
log.warn(
227+
log.debug(
228228
"Dependency resolution warning was reported - {}: {}",
229229
exception.getClass().getName(),
230230
exception.getMessage(),

0 commit comments

Comments
 (0)