Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.8.5
-
None
-
None
Description
I'm currently try to fetch a specific EventSpy to inject an event there (maven-profiler).
Sadly in my maven plugin when I try to get it injected:
@Requirement(role = EventSpy.class, hint = "profiler", optional = true)
EventSpy eventSpy;
This results in ClassNotFoundException: org.apache.maven.eventspy.EventSpy
I noticed that the maven-core do not export the 'org.apache.maven.eventspy' package and that is the cause of this, I'd like to suggest to export the package as there seem no other standard way to interact/access event spys otherwise.
Attachments
Issue Links
- relates to
-
MSHARED-650 Fire ExecutionEvent from DefaultMavenReportExecutor
- Open
- links to