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/04/11 17:32:00 UTC

[jira] [Created] (MSHARED-1236) Supply execution id of caller (Maven Site Plugin) to MavenReportExecutorRequest

Michael Osipov created MSHARED-1236:
---------------------------------------

             Summary: Supply execution id of caller (Maven Site Plugin) to MavenReportExecutorRequest
                 Key: MSHARED-1236
                 URL: https://issues.apache.org/jira/browse/MSHARED-1236
             Project: Maven Shared Components
          Issue Type: Improvement
          Components: maven-reporting-exec
    Affects Versions: maven-reporting-exec-4.0.0-M6
            Reporter: Michael Osipov
            Assignee: Michael Osipov
             Fix For: maven-reporting-exec-4.0.0-M7


When a reporting plugin is being run in the context of the Maven Site Plugin one can observe the following debug output:
{noformat}
[DEBUG] Configuring mojo execution 'org.apache.maven.plugins:maven-project-info-reports-plugin:3.4.1:index:null' with basic configurator -->
{noformat}
Note the {{null}}. The reason is that the execution id is not passed along from Maven Site Plugin to the plugin execution. One would expect the following:
{noformat}
[DEBUG] Configuring mojo execution 'org.apache.maven.plugins:maven-project-info-reports-plugin:3.4.1:index:default-site' with basic configurator -->
{noformat}

Therefore, modify {{MavenReportExecutorRequest}} to be able to pass the execution of the Maven Site Plugin to the {{MavenReportExecutor}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)