Skip to content

Commit 8d6695f

Browse files
committed
Convert hib7 module to regular JPMS (from Moditect)
1 parent 654c303 commit 8d6695f

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

hibernate7/pom.xml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,17 @@ Hibernate (https://hibernate.org/) version 7.x with Jakarta data types.
8080
<target>17</target>
8181
</configuration>
8282
</plugin>
83+
<plugin>
84+
<groupId>org.apache.maven.plugins</groupId>
85+
<artifactId>maven-surefire-plugin</artifactId>
86+
<configuration>
87+
<argLine>--add-opens=java.base/java.lang=ALL-UNNAMED
88+
--add-opens=java.base/java.util=ALL-UNNAMED
89+
--add-opens=tools.jackson.datatype.hibernate7/tools.jackson.datatype.hibernate7.data=ALL-UNNAMED --add-opens=tools.jackson.datatype.hibernate7/tools.jackson.datatype.hibernate7.data=org.hibernate.orm.core
90+
--add-opens=tools.jackson.datatype.hibernate7/tools.jackson.datatype.hibernate7.data=tools.jackson.databind
91+
</argLine>
92+
</configuration>
93+
</plugin>
8394
<plugin>
8495
<!-- Inherited from oss-base. Generate PackageVersion.java.-->
8596
<groupId>com.google.code.maven-replacer-plugin</groupId>
@@ -90,14 +101,6 @@ Hibernate (https://hibernate.org/) version 7.x with Jakarta data types.
90101
<groupId>org.cyclonedx</groupId>
91102
<artifactId>cyclonedx-maven-plugin</artifactId>
92103
</plugin>
93-
<plugin>
94-
<groupId>org.moditect</groupId>
95-
<artifactId>moditect-maven-plugin</artifactId>
96-
<inherited>true</inherited>
97-
<configuration>
98-
<jvmVersion>11</jvmVersion>
99-
</configuration>
100-
</plugin>
101104
<!-- 05-Jul-2020, tatu: Add generation of Gradle Module Metadata -->
102105
<!-- 28-Feb-2025, jjohannes: Apply plugin last as it has to be the last of all 'package phase' plugins -->
103106
<plugin>

0 commit comments

Comments
 (0)