On Sun, 01 Jun 2014 16:54:54 +0200
Hervé BOUTEMY <[email protected]> wrote:

> plexus:components-report is not much used AFAIK, I don't even know what it 
> prints :)
> 
> I don't know what you expect to write in the report.

Hum you may have misundertood me.

I just want to get some plexus components, and do my stuff on it. Plexus *was* 
just the way until recently to get components in mojo.

> 
> Regarding how to do it, In plexus:components-report and plugin-tools, the 
> report is not done by loading Mojos but by reading the generated descriptor 
> and displaying info.

No not my point to show stuff about plexus component, just want any instance of 
a role.

> 
> What type of information are you expecting to report that requires loading 
> classes?

Everything :) More seriously, I need to call some methods on each components 
to get what I want to report. 

The @Component on a Map<String, X> is exaclty what I need, but still can't find 
out how to make the mojo also take account of the components of the maven 
project. 

Perharps is there is simplier way to do this now with guice ? I thing this 
could be the solution.

> 
> Notice: i'm interested, because plugin-tools could perhaps do something 
> similar for complex type parameters
> 

No problem, let's find a nice solution to do this :)

tony.

-- 
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
http://www.codelutin.com
email: [email protected]
twitter: https://twitter.com/tchemit

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to