On Sun, 8 Oct 2023 at 18:25, Phil Steitz <phil.ste...@gmail.com> wrote:
>
> What exactly is the point of the default goal?  I mean when is it expected to 
> be used?  Automations?  Pipes of some kind?  It’s not always executed, right? 
>  So if I say “clean” was the default, “mvn test” would not mean “mvn clean 
> test”, right?

The default goal is only used if you don't provide a goal.

> Phil
>
> > On Oct 8, 2023, at 7:11 AM, sebb <seb...@gmail.com> wrote:
> >
> > There are currently lots of variations of the defaultGoal in different
> > components.
> >
> > It may be sensible to establish a standard setting which components
> > should adopt (unless there is a good reason to do otherwise).
> >
> > If so, what should that be, and where does it get documented?
> >
> > Personally, I don't think install should ever be a default goal as it
> > changes the environment outside the component.
> >
> > Main goals seen:
> > clean
> > install
> > package
> > site
> > test
> > verify
> >
> > Other goals seen:
> > apache-rat:check
> > checkstyle:check
> > clirr:check
> > findbugs:check
> > japicmp:cmp
> > javadoc:javadoc
> > pmd:check
> > pmd:cpd-check
> > spotbugs:check
> >
> > Sebb
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to