Skip to content

Commit f4f7f5b

Browse files
committed
Skip Artemis tests on Java 25
Artemis uses the SecurityManager which has been dropped from Java 25. See https://issues.apache.org/jira/browse/ARTEMIS-4975
1 parent 020a685 commit f4f7f5b

File tree

2 files changed

+31
-1
lines changed
  • extensions/smallrye-reactive-messaging-amqp/deployment
  • integration-tests/reactive-messaging-amqp

2 files changed

+31
-1
lines changed

extensions/smallrye-reactive-messaging-amqp/deployment/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,20 @@
118118
</plugin>
119119
</plugins>
120120
</build>
121+
122+
<profiles>
123+
<!--
124+
Artemis requires the SecurityManager and it is not available anymore in Java 25
125+
See https://issues.apache.org/jira/browse/ARTEMIS-4975
126+
-->
127+
<profile>
128+
<id>skip-artemis-on-java25</id>
129+
<activation>
130+
<jdk>[25,)</jdk>
131+
</activation>
132+
<properties>
133+
<skipTests>true</skipTests>
134+
</properties>
135+
</profile>
136+
</profiles>
121137
</project>

integration-tests/reactive-messaging-amqp/pom.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,5 +137,19 @@
137137
</plugins>
138138
</build>
139139

140-
140+
<profiles>
141+
<!--
142+
Artemis requires the SecurityManager and it is not available anymore in Java 25
143+
See https://issues.apache.org/jira/browse/ARTEMIS-4975
144+
-->
145+
<profile>
146+
<id>skip-artemis-on-java25</id>
147+
<activation>
148+
<jdk>[25,)</jdk>
149+
</activation>
150+
<properties>
151+
<skipTests>true</skipTests>
152+
</properties>
153+
</profile>
154+
</profiles>
141155
</project>

0 commit comments

Comments
 (0)