[ 
https://issues.apache.org/jira/browse/MSHARED-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135236#comment-17135236
 ] 

Herve Boutemy commented on MSHARED-650:
---------------------------------------

good idea: any idea on how to fire custom events from plugin classloader?

> Fire ExecutionEvent from DefaultMavenReportExecutor
> ---------------------------------------------------
>
>                 Key: MSHARED-650
>                 URL: https://issues.apache.org/jira/browse/MSHARED-650
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-reporting-exec
>            Reporter: Matt Nelson
>            Priority: Major
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to