You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/06/21 21:20:00 UTC
[jira] [Created] (MSHARED-1275) MavenReport#canGenerateReport() is invoked twice
Michael Osipov created MSHARED-1275:
---------------------------------------
Summary: MavenReport#canGenerateReport() is invoked twice
Key: MSHARED-1275
URL: https://issues.apache.org/jira/browse/MSHARED-1275
Project: Maven Shared Components
Issue Type: Bug
Components: maven-reporting-impl
Affects Versions: maven-reporting-impl-4.0.0-M8
Reporter: Michael Osipov
Assignee: Michael Osipov
Fix For: maven-reporting-impl-4.0.0-M9
The mentioned method called twice for standalone **and** Maven Site Plugin use case in {{org.apache.maven.reporting.AbstractMavenReport.generate(Sink, SinkFactory, Locale)}} also both uses cases make sure that {{canGenerateReport()}} is invoked *before* {{generate()}} is invoked. This is clearly redudant and can incur a performance overhead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)