Good day to you, Jochen, Get the container by following the "Accessing the Plexus Container" section of [1]. Then do the look up.
Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Jochen Wiedmann wrote: > > Hi, > > I have a Mojo, where I would like to only depend on the Plexus role > (say "MyComponent"). I would want the user to select and configure the > actual implementation by specifying the role-hint > and the configuration. For example, I could imagine that this looks like > > <plugin> > <groupId>...</groupId> > <artifactId>...</artifactId> > <configuration> > <param1>...</param1> > ... > <MyComponentParam> > <roleHint>foo</roleHint> > <configuration> > ... > </configuration> > </MyComponentParam> > </configuration> > </plugin> > > Can anybody advise me how I achieve that? Or better, give an example > where something like that is done? > > Thanks, > > Jochen > > -- > How fast can a year go? As fast as your childs first year. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Configuring-a-parameter-tf3227111s177.html#a8967789 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
