Hi, i've a maven plugin composed of some mojos. Suppose there is myproject.FirstMojo declared as @goal first and myproject.SecondMojo declared as @goal second
what I want to do is inject first mojo as property of second mojo. What I've tried is declare it the following way :
/**
* @component role="myproject.FirstMojo"
*/
private FirstMojo first;
Unfortunatly, when doing so, I get a Component descriptor cannot be found in the component repository:
error.
What should I do ?