Michael Osipov created MSHARED-335:
--------------------------------------
Summary: 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)