Re: Run all tests (also in dependent modules), fail build at end

2022-02-06 Thread Delany
Someone already wrote an "at end maven plugin". I used it for a while but removed it. Can't for the life of me find it in github/google/confluence/git log. Sorry! Delany On Mon, 7 Feb 2022 at 04:38, Alexander Kriegisch wrote: > >> In case you are ready to make you own plugin, it is relatively e

Re: Run all tests (also in dependent modules), fail build at end

2022-02-06 Thread Alexander Kriegisch
>> In case you are ready to make you own plugin, it is relatively easy. I am not, Lasse. I also want this to work on the command line and not depend on CI-system-specific workarounds. But thank you for your insightful ideas, I really appreciate them. Tibor, actually I wanted to avoid a potentiall

Re: Run all tests (also in dependent modules), fail build at end

2022-02-06 Thread Tibor Digana
The good way is to discuss the principle xxxAtEnd first and then implement it properly. Implementing a hack would persist the hack forever and that is the reality, the practice shows us that it is hapenning. Dňa ne 6. 2. 2022, 20:02 Lasse Lindqvist napísal(a): > In case you are ready to make you

Re: Run all tests (also in dependent modules), fail build at end

2022-02-06 Thread Lasse Lindqvist
In case you are ready to make you own plugin, it is relatively easy. https://github.com/apache/maven-surefire/tree/master/surefire-report-parser/src/main/java/org/apache/maven/plugins/surefire/report contains the code on how the test report is parsed. I could not find proper XSD schema for the str

[SCM] Getting a list of al commit messages since last tag ?

2022-02-06 Thread Niels Basjes
Hi, I'm looking into how easy/difficult it would be to create a new VersionPolicy for the maven-release-plugin that returns the next version by following the combination of "Conventional Commits" and "Semantic Versioning". https://semver.org/ https://www.conventionalcommits.org/en/v1.0.0/ The way

Re: Run all tests (also in dependent modules), fail build at end

2022-02-06 Thread Tibor Digana
Alexander, all I wanted to say is to discuss the xxxAtEnd as a Maven pattern. Is it what we really want to have in Maven? Last time we discussed it we said that it was a workaround. It should not be a problem to implement in Surefire but it might be an internal issue and we should avoid it. So let'

Re: Run all tests (also in dependent modules), fail build at end

2022-02-06 Thread Mantas Gridinas
Ah, I missed the rest of the thread. Nevermind. On Sun, Feb 6, 2022 at 8:25 AM Alexander Kriegisch wrote: > Mantas Gridinas schrieb am 06.02.2022 15:11 (GMT +07:00): > > > Doesnt vrrify goal precede the install goal? > > Yes. So? What does your question imply? > > > > On Sun, Feb 6, 2022, 08:46

Re: Run all tests (also in dependent modules), fail build at end

2022-02-06 Thread Alexander Kriegisch
Mantas Gridinas schrieb am 06.02.2022 15:11 (GMT +07:00): > Doesnt vrrify goal precede the install goal? Yes. So? What does your question imply? > On Sun, Feb 6, 2022, 08:46 Alexander Kriegisch > wrote: > >> Actually, I am not sure I want to compare with Install and Deploy >> plugin, but beca

Re: Run all tests (also in dependent modules), fail build at end

2022-02-06 Thread Mantas Gridinas
Doesnt vrrify goal precede the install goal? On Sun, Feb 6, 2022, 08:46 Alexander Kriegisch wrote: > Actually, I am not sure I want to compare with Install and Deploy > plugin, but because you were mentioning them: 'installAtEnd' and > 'deployAtEnd' are blessings IMO, and they are cornerstones o