Neil-Tomar commented on issue #378:
URL: 
https://github.com/apache/maven-help-plugin/issues/378#issuecomment-7239722173

   Hello @slawekjaranowski  , I am sorry for the late reply.  I got stuck in 
some situation.
   
   I found out that on Maven 4 the injected `Map<String, ArtifactHandler>` is 
empty, because types now come from `TypeProvider`s, which are Maven 4-only API. 
I asked on the dev list 
([thread](https://lists.apache.org/thread/12nqbfm387zpjl7013220t5oxqqrnfov)), 
and Romain suggested using reflection on Maven 4 and keeping the current 
behaviour for Maven 3.
   
   I tried that, but I couldn't get a working instance of `TypeProvider` from 
inside the plugin. Then classes started, I was away from it for a while, and 
now I don't remember all the details of what I tried.
   
   I'd still like to finish it, so If anyone can give any hint/help on the 
right way to solve this I will really appreciate. 


-- 
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