Re: How to properly override junit-platform and junit-jupiter in a parent pom

2022-06-18 Thread David Karr
On Sat, Jun 18, 2022 at 4:17 PM Nils Breunese wrote: > David Karr wrote: > > > We have a bunch of services running Spring Boot 2.3.12, which by default > > uses junit-platform 1.6.3 and junit-jupiter 5.6.3. > > > > We are trying to instead use junit-platform 1.8.2 and junit-jupiter > 5.8.2. > >

Re: How to properly override junit-platform and junit-jupiter in a parent pom

2022-06-18 Thread Nils Breunese
David Karr wrote: > We have a bunch of services running Spring Boot 2.3.12, which by default > uses junit-platform 1.6.3 and junit-jupiter 5.6.3. > > We are trying to instead use junit-platform 1.8.2 and junit-jupiter 5.8.2. > All the artifacts and versions we need are in junit-bom-5.8.2. > > W

Re: Surefire not running JUnit 5 tests after fixing how junit-bom artifacts are specified

2022-06-18 Thread David Karr
In my case, it appears that all I had to do after adding the correct junit-bom version import before the import of the "spring-boot-dependencies" bom was figure out where to exclude junit-platform-runner. I can see where the junit-{platform,jupiter} dependencies are in the tree, but it's a little h

Re: Surefire not running JUnit 5 tests after fixing how junit-bom artifacts are specified

2022-06-18 Thread Karl Heinz Marbaise
Hi, On 17.06.22 20:46, David Karr wrote: Ok, what is the proper way to do that, considering I have the following in a bom imported by my parent pom: org.junit junit-bom import pom