[
https://jira.codehaus.org/browse/MSHARED-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=346640#comment-346640
]
Herve Boutemy commented on MSHARED-335:
---------------------------------------
mojo execution id can't be removed: we can choose another value, but not remove
it
notice I don't really get how it is used (apart from this display)
> Remove redundant executionId from reports
> -----------------------------------------
>
> Key: MSHARED-335
> URL: https://jira.codehaus.org/browse/MSHARED-335
> Project: Maven Shared Components
> Issue Type: Improvement
> Components: maven-reporting-exec
> Affects Versions: maven-reporting-exec-1.2
> Reporter: Michael Osipov
>
> Currently,
> [following|http://maven.apache.org/shared/maven-reporting-exec/xref/org/apache/maven/reporting/exec/DefaultMavenReportExecutor.html#239]
> is constructed:
> {code}
> MojoExecution mojoExecution = new MojoExecution( plugin, report.getGoal(),
> "report:" + report.getGoal() );
> {code}
> The output looks like this:
> {noformat}
> [INFO] >>> maven-javadoc-plugin:2.9.1:javadoc (report:javadoc) >
> generate-sources @ apache-maven >>>
> {noformat}
> *report:* is always static and *:javadoc* is duplicated. So, the executionId
> contains fixed and redundant information. Remove them and make the entire
> line concise.
> The output shall be:
> {noformat}
> [INFO] >>> maven-javadoc-plugin:2.9.1:javadoc > generate-sources @
> apache-maven >>>
> {noformat}
> This was discovered with MNG-5630.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)