On 14. Sep 2025, at 12:32, Elliotte Rusty Harold <elh...@ibiblio.org> wrote:
> In general ITs, including our own, are too flaky, too heavyweight, and
> too configuration dependent to execute them by default when the user
> is trying to do something else like package or install.

`verify` is _after_ the `package` phase, so that is not an issue.

And most often, `install` is not what you want anyway. Prefer `package` then.

If your ITs are flaky, heavy, etc., maybe you should fix them?
But if that is a deliberate choice, just set `-DskipITs`.


BTW: `skipTests` also skips ITs, even though the documentation mentions that 
this shouldn't be the case anymore since 3.0.0 (see the `skipTests` parameter 
in `mvn failsafe:help -Ddetail -Dgoal=integration-test`). At least the docs 
should be fixed. And maybe we need a `skipUnitTests`?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to