Hi, I often faced issues that ITs either take too long are not executable at all locally (without additional setup). Still later phases than "integration-test” are sometimes crucial locally like “install”. Therefore often ITs are conditional based on an additional profile. Having it bound by default would prevent such use cases. Konrad
> On 12. Sep 2025, at 11:57, Matthias Bünger <mbuen...@apache.org> wrote: > > Hi all, > > I agree with Maarten and Rüdiger that it's not obvious why only Surefire is > executed and support to also execute failsafe by default. > > Matthias > > Am 12.09.2025 um 09:23 schrieb Maarten Mulders: >> Hi all, >> >> Putting implementation apart, I do agree with Rüdinger that it's not so >> obvious why a default Maven project would invoke Surefire in the test phase, >> but not Failsafe in the integration-test phase. >> >> If I recall correctly, projects like Spring Boot, Quarkus and others "fix" >> this in their parent poms that they encourage you to use. Maybe that is an >> indication that it actually makes sense to run integration-tests by >> default...? >> >> Anyway, I would be happy to see this change in Maven 4. My preference would >> be to have Failsafe run in a default project as well. >> >> Thanks, >> >> >> Maarten >> >> On September 8, 2025 at 17:31, Tamás Cservenák wrote: >>> Howdy, >>> >>> just to throw in bike-wrench: >>> This is how Maven 4 super poms (for each model) looks like: >>> https://github.com/apache/maven/tree/master/impl/maven-impl/src/main/resources/org/apache/maven/model >>> >>> >>> (for diff, here is Maven 3 super pom >>> https://github.com/apache/maven/blob/maven-3.9.x/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml) >>> >>> >>> No any kind of plugin (in case of Maven 3, those plugins that has been >>> talked about in this thread) is there. >>> >>> So what this thread is instead about lifecycles. I just wanted to >>> clarify, as this is an important distinction. >>> Lifecycles, unlike super POMs, can be provided by extensions. >>> >>> Thanks >>> T >>> >>> On Fri, Sep 5, 2025 at 7:58 AM Rüdiger <snack...@sinntr.eu> wrote: >>>> >>>> Hiho! >>>> >>>> I was wondering, what you all think about adding the failsafe plugin to >>>> the super pom of maven 4. I often work with young teams, and it's >>>> difficult to explain, why the surefire plugin works out of the box, but >>>> the failsafe plugin does not... and of course, it's a nuisance to have to >>>> add it to every project. >>>> >>>> Maybe unit tests used to be more important than integration tests in the >>>> past, but my perception is that this is changing: ITs become more and more >>>> the primary way of testing, while unit tests become more optional and >>>> focus on more complex algorithms. >>>> >>>> Kind regards >>>> Rüdiger >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >>>> For additional commands, e-mail: dev-h...@maven.apache.org >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >>> For additional commands, e-mail: dev-h...@maven.apache.org >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >> For additional commands, e-mail: dev-h...@maven.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org