gnodet commented on issue #10994:
URL: https://github.com/apache/maven/issues/10994#issuecomment-3388542439

   Currently, only [execution 
events](https://github.com/apache/maven/blob/master/api/maven-api-core/src/main/java/org/apache/maven/api/EventType.java#L29-L47)
 are sent in the new API.
   Resolution requests are currently not intercepted.
   Unfortunately, the new API services do not wrap the older ones, so events 
that can be intercepted such as `DependencyResolutionRequest` have no clear 
mapping yet.
   
   As a workaround, all requests from the new API can be intercepted by 
providing a custom 
[`RequestCacheFactory`](https://github.com/apache/maven/blob/maven-4.0.x/api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCacheFactory.java)
 which will provide a way to listen to resolution requests. However, this will 
require an extension, not a plugin, not sure what you really need.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to