Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
fixed JVM settings for Maven surefire/failsafe plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
DirkMahler committed Dec 28, 2023
1 parent 15afdee commit 7450146
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,9 @@
<lombok.version>1.18.22</lombok.version>
<mapstruct.version>1.5.5.Final</mapstruct.version>
<mockito.version>2.23.4</mockito.version>
<!--
<neo4j.version>5.14.0</neo4j.version>
-->
<neo4j.version>4.4.29</neo4j.version>
<neo4j_4x.version>4.4.29</neo4j_4x.version>
<neo4j_5x.version>5.15.0</neo4j_5x.version>
<neo4j.version>${neo4j_4x.version}</neo4j.version>
<neo4j-browser.version>5.15.0</neo4j-browser.version>
<slf4j.version>1.7.36</slf4j.version>
<smallrye-config.version>3.1.3</smallrye-config.version>
Expand Down Expand Up @@ -218,7 +217,12 @@
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.version}</version>
<configuration>
<argLine>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED</argLine>
<!-- for JUnit Pioneer and Neo4j 4.x -->
<argLine>
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.nio=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
</argLine>
</configuration>
</plugin>

Expand All @@ -227,7 +231,12 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
<configuration>
<argLine>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED</argLine>
<!-- for JUnit Pioneer and Neo4j 4.x -->
<argLine>
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.nio=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
</argLine>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 7450146

Please sign in to comment.