hboutemy commented on code in PR #215:
URL: 
https://github.com/apache/maven-reporting-impl/pull/215#discussion_r2616219988


##########
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:
   because the adapter class is the useful  one: this is really just a small 
adapter



-- 
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]

Reply via email to