From ec004e9ba376c902c63d1450af3f85dd093205bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Mon, 16 Jan 2023 14:11:45 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E5=A2=9E=E5=8A=A0=20(=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E3=80=81=E6=B5=8B=E8=AF=95=E3=80=81=E6=89=93=E5=8C=85)?= =?UTF-8?q?=E6=9C=9F=E9=97=B4=E5=BF=85=E5=A4=87=E7=9A=84jvm=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .run/RuoYiApplication.run.xml | 10 ++++++++++ pom.xml | 6 +++++- ruoyi-admin/pom.xml | 17 +++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .run/RuoYiApplication.run.xml diff --git a/.run/RuoYiApplication.run.xml b/.run/RuoYiApplication.run.xml new file mode 100644 index 000000000..12dacba2f --- /dev/null +++ b/.run/RuoYiApplication.run.xml @@ -0,0 +1,10 @@ + + + + + diff --git a/pom.xml b/pom.xml index 7b2a342a4..fd9fdbd16 100644 --- a/pom.xml +++ b/pom.xml @@ -374,7 +374,11 @@ maven-surefire-plugin ${maven-surefire-plugin.version} - -Dfile.encoding=UTF-8 + + -Dfile.encoding=UTF-8 + --add-opens java.base/java.lang=ALL-UNNAMED + --add-opens java.base/java.lang.invoke=ALL-UNNAMED + ${profiles.active} diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index 086ed46e4..e538024da 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -117,6 +117,18 @@ + + org.apache.maven.plugins + maven-jar-plugin + ${maven-jar-plugin.version} + + + + java.base/java.lang java.base/java.lang.invoke + + + + org.apache.maven.plugins maven-war-plugin @@ -124,6 +136,11 @@ false ${project.artifactId} + + + java.base/java.lang java.base/java.lang.invoke + +