Skip to content

Commit

Permalink
Execute org.eclipse.persistence.jpa.spring.test,org.eclipse.persisten…
Browse files Browse the repository at this point in the history
…ce.jpa.springboot.test Maven modules conditionally on used Java version. Minimal Java for used test Spring dependencies which support Jakarta is Java 17. (#2331)

Signed-off-by: Radek Felcman <[email protected]>
  • Loading branch information
rfelcman authored Dec 19, 2024
1 parent cd067c2 commit 3e6f9b3
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1867,6 +1867,18 @@
</build>

<profiles>
<profile>
<id>spring-modules</id>
<activation>
<jdk>[17,)</jdk>
</activation>
<modules>
<!--JPA Spring test module-->
<module>jpa/eclipselink.jpa.spring.test</module>
<!--JPA Spring Boot test module-->
<module>jpa/eclipselink.jpa.springboot.test</module>
</modules>
</profile>
<!--Testing database profiles-->
<!--TODO simplify properties part db.driver.XXXX to load it from file-->
<profile>
Expand Down Expand Up @@ -2189,10 +2201,6 @@
<module>jpa/eclipselink.jpa.test.jse</module>
<!--JPA Helidon test module-->
<module>jpa/eclipselink.jpa.helidon.test</module>
<!--JPA Spring test module-->
<module>jpa/eclipselink.jpa.spring.test</module>
<!--JPA Spring Boot test module-->
<module>jpa/eclipselink.jpa.springboot.test</module>
<!--JPA WDF test module-->
<module>jpa/eclipselink.jpa.wdf.test</module>

Expand Down

0 comments on commit 3e6f9b3

Please sign in to comment.