From ff66723248072d556d5d456be77243d8e677fd3a Mon Sep 17 00:00:00 2001 From: Chris Vest Date: Thu, 18 Mar 2021 16:53:14 +0100 Subject: [PATCH] Make test-compilation and test-running pass The netty-buffer test-jar dependency was causing some problems, but this works around that. --- pom.xml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index f026cad..ea56f9a 100644 --- a/pom.xml +++ b/pom.xml @@ -74,9 +74,6 @@ 5.7.0 3.0.0-M5 false - - - --illegal-access=deny ${argLine.java9.extras} -server -dsa -da -ea:io.netty... @@ -95,9 +92,21 @@ + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.2 + + + + properties + + + + maven-compiler-plugin - 3.8.0 + 3.8.1 ${java.version} true @@ -115,6 +124,10 @@ --add-modules jdk.incubator.foreign + + + --patch-module io.netty.buffer=${io.netty:netty-buffer:test-jar:tests} + **/package-info.java @@ -165,7 +178,7 @@ **/*Test*.java random - ${argLine.common} ${argLine.printGC} ${argLine.java9} --add-modules jdk.incubator.foreign + ${argLine.common} ${argLine.printGC} --illegal-access=deny --patch-module io.netty.buffer=${io.netty:netty-buffer:test-jar:tests} --add-modules jdk.incubator.foreign false