Re: Re: Use a mojo within a mojo

2009-10-28 Thread Tsuyoshi Ito
Hi Wayne Thanks for the answer, obviously my question wasn't clear enough: I read that mojos are components, how do I get such a component injected within another mojo? "A Mojo is much more than just a goal in Maven, it is a component managed by Plexus that can include references to other

Use a mojo within a mojo

2009-10-27 Thread Tsuyoshi Ito
Hello, I try to use a mojo "B" within a mojo "A". I develop a custom plugin which should use AddSourceMojo within my custom plugin for adding new sources. Is this possible? Or do I have to define plugin "A" and plugin "B" in the plugins section of the pom. Found some hints in the "mav