You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by Maczka Michal <mi...@imtf.ch> on 2004/06/17 10:04:25 UTC

RE: Plugins use cases

imo for default goal simple rule will do:

e.g. default goal of jcoverage plugin is "jcoverage", of jar is "jar" and so
on

Michal

> -----Original Message-----
> From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
> Sent: Thursday, June 17, 2004 10:10 AM
> To: Maven 2 Developers List
> Subject: Plugins use cases
> 
> 
> Hi,
> 
> Can we add a @default tag in a Mojo class for set the default goal?
> I think to this for some plugin like jcoverage. If I put this 
> tag in the
> JCoverage report Mojo, it will generage a goal jcoverage that launch
> jcoverage:report.
> It isn't really an alias but it's a goal shortname.
> And if we add this tag, we must add a validator for prevents multiple
> @default in mojos.
> 
> Can we add a dependencies tag in the plugins tag in the pom 
> for separate
> project dependencies and plugins dependencies?
> With this feature, we'll can launch plugins with its 
> depencies and some
> additional dependencies (define in the plugin tag), and the official
> dependencies will be use by the compiler plugin, surefire 
> plugin,... So,
> we'll always run goal with a minimal and correct classpath.
> 
> Emmanuel
> 


Re: Plugins use cases

Posted by Emmanuel Venisse <em...@venisse.net>.
----- Original Message ----- 
From: "Maczka Michal" <mi...@imtf.ch>
To: "'Maven 2 Developers List'" <m2...@maven.apache.org>
Sent: Thursday, June 17, 2004 10:04 AM
Subject: RE: Plugins use cases


> imo for default goal simple rule will do:
>
> e.g. default goal of jcoverage plugin is "jcoverage", of jar is "jar" and
so
> on

Yes, it's similar to maven1 plugin. For all plugins, we have a default goal
that lauch another one.

>
> Michal
>
> > -----Original Message-----
> > From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
> > Sent: Thursday, June 17, 2004 10:10 AM
> > To: Maven 2 Developers List
> > Subject: Plugins use cases
> >
> >
> > Hi,
> >
> > Can we add a @default tag in a Mojo class for set the default goal?
> > I think to this for some plugin like jcoverage. If I put this
> > tag in the
> > JCoverage report Mojo, it will generage a goal jcoverage that launch
> > jcoverage:report.
> > It isn't really an alias but it's a goal shortname.
> > And if we add this tag, we must add a validator for prevents multiple
> > @default in mojos.
> >
> > Can we add a dependencies tag in the plugins tag in the pom
> > for separate
> > project dependencies and plugins dependencies?
> > With this feature, we'll can launch plugins with its
> > depencies and some
> > additional dependencies (define in the plugin tag), and the official
> > dependencies will be use by the compiler plugin, surefire
> > plugin,... So,
> > we'll always run goal with a minimal and correct classpath.
> >
> > Emmanuel
> >
>
>