On Fri, 2005-06-24 at 10:03 +0200, Vincent Massol wrote: > Hi, > > I have a Mojo that is called by another one and I'd like to prevent the > called Mojo from being invoked directly by the user. Is there a tag for > this? > > The use case is the clover plugin. The clover:check goal spawns a new > lifecycle that calls the clover:instrument goal. The spawned lifeycle > defines a new output dir. If users call directly the clover:instrument goal > the generated sources will go in the main output dir and the generated will > then be compiled by any compiler goal. I'd like to avoid this by preventing > users from calling clover:instrument.
So a mechanism where we could state a goal can only participate as part of a lifecycle? Basically make the goal non-visible for direct use? > Thanks > -Vincent > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
