apache / apache/maven-reporting-exec

[MSHARED-650] Fire ExecutionEvent from DefaultMavenReportExecutor

Open
#61 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
8
Forks
6
Avg merge
1d 27m
Merged PRs (30d)
4

Description

**[Matt Nelson](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mattnelson)** opened **[MSHARED-650](https://issues.apache.org/jira/browse/MSHARED-650?redirect=false)** and commented

The event spy features added currently only support plugin mojos. When building site all the report mojos are grouped together under the site plugin and do not enable the ability to profile the site and find slow mojos. I dug through the code and it appears that the `DefaultMavenReportExecutor`[1] could be instrumented with the Catapult to fire events for each report mojo that the `EventSpy`[2] can handle.

[1] https://github.com/apache/maven-shared/blob/maven-reporting-exec-1.3/src/main/java/org/apache/maven/reporting/exec/DefaultMavenReportExecutor.java
[2] https://github.com/apache/maven/blob/maven-3.5.0/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

---

**Issue Links:**
- [MNG-7479](https://issues.apache.org/jira/browse/MNG-7479) Export the package org.apache.maven.eventspy

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.