This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch MNG-7129-maven-caching
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/MNG-7129-maven-caching by this 
push:
     new b684121  Fix JDK 17 build
b684121 is described below

commit b68412174a75306d419f92bcd97714970b359d8b
Author: Guillaume Nodet <gno...@gmail.com>
AuthorDate: Wed Dec 1 11:22:47 2021 +0100

    Fix JDK 17 build
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 56e88cd..324a55e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -268,7 +268,7 @@ under the License.
                     <artifactId>maven-surefire-plugin</artifactId>
                     <version>3.0.0-M5</version>
                     <configuration>
-                        <argLine>-Xmx256m</argLine>
+                        <argLine>-Xmx256m --add-exports 
java.base/sun.nio.ch=ALL-UNNAMED</argLine>
                         <environmentVariables>
                             
<JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
                         </environmentVariables>

Reply via email to