slawekjaranowski commented on code in PR #215:
URL:
https://github.com/apache/maven-reporting-impl/pull/215#discussion_r2616219573
##########
src/main/java/org/apache/maven/reporting/AbstractMavenReport.java:
##########
@@ -235,7 +235,16 @@ private void reportToMarkup() throws
MojoExecutionException {
try {
Locale locale = getLocale();
- generate(sink, sinkFactory, locale);
+ generate(
+ sink,
+ new AbstractSinkFactoryAdapter(sinkFactory) {
+ @Override
+ public Sink createSink(File file, String filename)
throws IOException {
+ getLog().info(" " +
relativeOutput.resolve(filename));
Review Comment:
Why not log in new class ... without such inner implementation
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]