Interface MavenReportExecutor

  • All Known Implementing Classes:
    DefaultMavenReportExecutor

    public interface MavenReportExecutor
    This component will prepare MavenReports for later generation. If a MavenReport needs to fork a goal or a lifecycle phase, this fork is executed.

    Notice that Maven Reports are classical Mojos implementing the MavenReport interface: when used as reports, their Mojo.execute() method is not to be used but MavenReport.generate().

    Author:
    Olivier Lamy
    • Method Detail

      • buildMavenReports

        List<MavenReportExecution> buildMavenReports​(MavenReportExecutorRequest mavenReportExecutorRequest)
                                              throws org.apache.maven.plugin.MojoExecutionException
        Build the MavenReports, with associated forked executions if necessary.
        Parameters:
        mavenReportExecutorRequest -
        Returns:
        a list or prepared Maven report executions
        Throws:
        org.apache.maven.plugin.MojoExecutionException