Skip to content

Commit 014a899

Browse files
fix: Disable JPA PushNotificationConfigStore on Java 24 (#312)
The currently released versions of Quarkus use Vert.X 4.5.x, which is not compatible with Java 24. Java 24 support will come in Vert.X 4.6.0. --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 018990c commit 014a899

File tree

1 file changed

+27
-0
lines changed
  • extras/push-notification-config-store-database-jpa

1 file changed

+27
-0
lines changed

extras/push-notification-config-store-database-jpa/pom.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,31 @@
104104
<scope>test</scope>
105105
</dependency>
106106
</dependencies>
107+
108+
<profiles>
109+
<profile>
110+
<id>java24-exclude-vertx-incompatible-tests</id>
111+
<activation>
112+
<jdk>[24,)</jdk>
113+
</activation>
114+
<build>
115+
<plugins>
116+
<plugin>
117+
<artifactId>maven-surefire-plugin</artifactId>
118+
<configuration>
119+
<argLine>--add-opens java.base/java.lang=ALL-UNNAMED</argLine>
120+
<excludes>
121+
<!-- TODO: Remove this profile when Quarkus is updated to a version using Vert.x 4.6.0+.
122+
This test is excluded on Java 24+ due to a Vert.x ServiceLoader incompatibility with SSE streaming.
123+
Current Quarkus versions (e.g., 3.25.x, 2.28.1) use Vert.x 4.5.x, which is not compatible with Java 24. -->
124+
<exclude>**/JpaDatabasePushNotificationConfigStoreIntegrationTest.java</exclude>
125+
</excludes>
126+
</configuration>
127+
</plugin>
128+
</plugins>
129+
</build>
130+
</profile>
131+
</profiles>
132+
133+
107134
</project>

0 commit comments

Comments
 (0)