Re: Would be possible to inject com.google.inject.Injector in a mojo or other component?

2016-01-07 Thread Cristiano Gavião
Hi Stuart, thanks for the explanation ! the map solution also have fit well in my case. many thanks and best regards, Cristiano On 06-01-2016 19:50, Stuart McCulloch wrote: Hi Cristiano, Maven core doesn’t expose the “com.google.inject” package to plugins, which means the Injector class

Re: Would be possible to inject com.google.inject.Injector in a mojo or other component?

2016-01-06 Thread Stuart McCulloch
Hi Cristiano, Maven core doesn’t expose the “com.google.inject” package to plugins, which means the Injector class seen by your plugin is different to the class seen by core (this is due to classworlds isolation) which is why injecting the Injector is not currently possible. If the