From 295b26db00647d9b8fdd800a2cf089507c2819cf Mon Sep 17 00:00:00 2001
From: morrySnow <101034200+morrySnow@users.noreply.github.com>
Date: Sun, 19 Mar 2023 14:50:09 +0800
Subject: [PATCH] [chore](fe) update aspectj-maven-plugin to 1.14.0 version
(#17890)
In #17797 , we introduced aspectj to help log exception easily.
However, the plugin version 1.11 do not support jdk9 and later.
For support compile FE with jdk11
update aspectj-maven-plugin to 1.14.0 version
add new dependency org.aspectj.aspectjrt 1.9.7 to fe-core
according to:
aspectj java version compatibility
aspectj-maven-plugin issue
aspectj release note
intro to aspectj
---
fe/fe-common/pom.xml | 7 ++++++-
fe/fe-core/pom.xml | 2 +-
fe/pom.xml | 1 +
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/fe/fe-common/pom.xml b/fe/fe-common/pom.xml
index 57670622f4..aa8bd2f314 100644
--- a/fe/fe-common/pom.xml
+++ b/fe/fe-common/pom.xml
@@ -89,7 +89,12 @@ under the License.
org.aspectj
aspectjweaver
- 1.8.13
+ ${aspectj.version}
+
+
+ org.aspectj
+ aspectjrt
+ ${aspectj.version}
diff --git a/fe/fe-core/pom.xml b/fe/fe-core/pom.xml
index 0adf225936..ab845b4bdb 100644
--- a/fe/fe-core/pom.xml
+++ b/fe/fe-core/pom.xml
@@ -818,7 +818,7 @@ under the License.
org.codehaus.mojo
aspectj-maven-plugin
- 1.11
+ 1.14.0
process-classes
diff --git a/fe/pom.xml b/fe/pom.xml
index 6164a4b2ec..2a645bd309 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -167,6 +167,7 @@ under the License.
1.8
apache
https://sonarcloud.io
+ 1.9.7
2.2
1.4
1.5