File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,21 @@ Hibernate (https://hibernate.org/) version 6.x with Jakarta data types.
9090 <groupId >org.cyclonedx</groupId >
9191 <artifactId >cyclonedx-maven-plugin</artifactId >
9292 </plugin >
93+ <!-- 05-Nov-2025, tatu: Could not figure out how to make it all work
94+ with separate test `module-info.java`, so for now just open up access
95+ -->
96+ <plugin >
97+ <groupId >org.apache.maven.plugins</groupId >
98+ <artifactId >maven-surefire-plugin</artifactId >
99+ <configuration >
100+ <argLine >--add-opens=java.base/java.lang=ALL-UNNAMED
101+ --add-opens=java.base/java.util=ALL-UNNAMED
102+ --add-opens=tools.jackson.datatype.hibernate6/tools.jackson.datatype.hibernate6.data=ALL-UNNAMED
103+ --add-opens=tools.jackson.datatype.hibernate6/tools.jackson.datatype.hibernate6.data=org.hibernate.orm.core
104+ --add-opens=tools.jackson.datatype.hibernate6/tools.jackson.datatype.hibernate6.data=tools.jackson.databind
105+ </argLine >
106+ </configuration >
107+ </plugin >
93108 <!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata -->
94109 <!-- 28-Feb-2025, jjohannes: Apply plugin last as it has to be the last of all 'package phase' plugins -->
95110 <plugin >
You can’t perform that action at this time.
0 commit comments