diff --git a/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/generate/SourceCodeGenerator.java b/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/generate/SourceCodeGenerator.java index e98440b3..798f74d8 100644 --- a/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/generate/SourceCodeGenerator.java +++ b/protobuf-maven-plugin/src/main/java/io/github/ascopes/protobufmavenplugin/generate/SourceCodeGenerator.java @@ -242,7 +242,14 @@ private Collection discoverCompilableSources( var sourcePaths = concat(sourcePathsListings, sourceDependencyListings); - log.info("Will generate source code for {} protobuf file(s)", sourcePaths.size()); + log.info( + "Generating source code for {} protobuf file(s) from {} file tree(s)", + sourcePaths.stream() + .mapToInt(sourcePath -> sourcePath.getProtoFiles().size()) + .sum(), + sourcePaths.size() + ); + return sourcePaths; }