Skip to content

Commit 252c474

Browse files
committed
HV-2072 Skip WildFly integration tests on JDK 24/25
so that they are not included as part of the build on JDKs 24+
1 parent a3e9029 commit 252c474

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

integrationtest/wildfly/pom.xml

+26
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
<hibernate-validator-parent.path>../..</hibernate-validator-parent.path>
3030
<skip.wildfly.integration.test.hibernate.validator>false</skip.wildfly.integration.test.hibernate.validator>
31+
<skip.failsafe.execution>false</skip.failsafe.execution>
3132
</properties>
3233

3334
<dependencies>
@@ -179,6 +180,7 @@
179180
<goal>verify</goal>
180181
</goals>
181182
<configuration>
183+
<skip>${skip.failsafe.execution}</skip>
182184
<systemPropertyVariables>
183185
<arquillian.launch>wildfly-current</arquillian.launch>
184186
</systemPropertyVariables>
@@ -258,5 +260,29 @@
258260
<surefire.jvm.args.add-opens>--add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED</surefire.jvm.args.add-opens>
259261
</properties>
260262
</profile>
263+
<profile>
264+
<id>testWithJdk24</id>
265+
<activation>
266+
<property>
267+
<name>java-version.test.release</name>
268+
<value>24</value>
269+
</property>
270+
</activation>
271+
<properties>
272+
<skip.failsafe.execution>true</skip.failsafe.execution>
273+
</properties>
274+
</profile>
275+
<profile>
276+
<id>testWithJdk25</id>
277+
<activation>
278+
<property>
279+
<name>java-version.test.release</name>
280+
<value>25</value>
281+
</property>
282+
</activation>
283+
<properties>
284+
<skip.failsafe.execution>true</skip.failsafe.execution>
285+
</properties>
286+
</profile>
261287
</profiles>
262288
</project>

0 commit comments

Comments
 (0)