Skip to content

Commit 73f3be4

Browse files
authored
Activate Gatling test modute on jdk21 profile (#445)
* Revert "Update Java release build version to 21 (#441)" This reverts commit fd42ca9. * Activate Gatling test module profile on jdk21 condition
1 parent fd42ca9 commit 73f3be4

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
java: [ '21' ]
19+
java: [ '17', '19', '21' ]
2020
steps:
2121
- uses: actions/checkout@v4
2222

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</description>
1616

1717
<properties>
18-
<java.version>21</java.version>
18+
<java.version>17</java.version>
1919
<maven.compiler.source>${java.version}</maven.compiler.source>
2020
<maven.compiler.target>${java.version}</maven.compiler.target>
2121

@@ -28,7 +28,7 @@
2828
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2929
<skipPrettier>false</skipPrettier>
3030
<skipStaging>false</skipStaging>
31-
<generateBackupPoms>false</generateBackupPoms>
31+
<generateBackupPoms>false</generateBackupPoms>
3232
</properties>
3333

3434
<distributionManagement>

tests/gatling/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<artifactId>graphql-jpa-query-tests-gatling</artifactId>
1212

1313
<properties>
14+
<java.version>21</java.version>
1415
<activiti-cloud.version>8.1.0</activiti-cloud.version>
1516
<gatling.version>3.10.3</gatling.version>
1617
<gatling-maven-plugin.version>4.7.0</gatling-maven-plugin.version>

tests/pom.xml

+11-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,17 @@
2222
<module>starwars</module>
2323
<module>boot-starter</module>
2424
<module>web</module>
25-
<module>gatling</module>
2625
</modules>
2726

27+
<profiles>
28+
<profile>
29+
<id>java21</id>
30+
<activation>
31+
<jdk>21</jdk>
32+
</activation>
33+
<modules>
34+
<module>gatling</module>
35+
</modules>
36+
</profile>
37+
</profiles>
2838
</project>

0 commit comments

Comments
 (0)