I should clarify, the presence of <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <version>3.1.11</version> <scope>test</scope> </dependency>
Stops *all* the JAX-RS tests running. This exclude fixes it: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <version>3.1.11</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> </exclusion> <exclusion> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> </exclusion> </exclusions> </dependency> but I do wonder if this is better tested in a module elsewhere (something like an example, maybe?). There seems to be other issues around that SpringWebappTest which I'm digging into. Jon On Tue, Oct 22, 2024 at 1:17 PM Jonathan Gallimore < jonathan.gallim...@gmail.com> wrote: > Actually, TomEE 10 / main. I would like to backport that change to 9.x, > and understand the Java 17 issue there. I haven't tested, but I guess > compilation with Java 11 might also fail there (so a separate module may > help there too). > > On Tue, Oct 22, 2024 at 1:07 PM Richard Zowalla <rich...@zowalla.com> > wrote: > >> Is this about the 9.x branch? If so, the reason is, that Spring requires >> a Java 17 baseline. >> >> Am 22. Oktober 2024 12:06:08 MESZ schrieb Jonathan Gallimore < >> jonathan.gallim...@gmail.com>: >> >I've noticed that the dependencies for this test cause the test suite for >> >arquillian-tomee-jaxrs-tests not to run. >> > >> >Even after fixing that, it looks like there are still issues. I'm >> thinking >> >of pulling this into its own module (still under Arquillian TomEE Tests) >> >for anything that we might want to test with Spring. >> > >> >Any thoughts? >> > >> >Jon >> >