From 7f22561d4780b8c20b2b0c99791d940cbdc07087 Mon Sep 17 00:00:00 2001
From: Pan-YuJie <646836760@qq.com>
Date: Thu, 17 Oct 2024 00:42:42 +0800
Subject: [PATCH] Fix: Fix build boot3.x moudle jdk17 project error
---
.../agent/config-apollo-spring-boot-3x/pom.xml | 9 +++++++++
.../agent/config-naocs-spring-boot-3x/pom.xml | 10 +++++++++-
examples/threadpool-example/agent/pom.xml | 5 +++--
pom.xml | 1 +
4 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/examples/threadpool-example/agent/config-apollo-spring-boot-3x/pom.xml b/examples/threadpool-example/agent/config-apollo-spring-boot-3x/pom.xml
index 887e9524..e8221449 100644
--- a/examples/threadpool-example/agent/config-apollo-spring-boot-3x/pom.xml
+++ b/examples/threadpool-example/agent/config-apollo-spring-boot-3x/pom.xml
@@ -77,6 +77,15 @@
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.8.1
+
+ 17
+ 17
+
+
diff --git a/examples/threadpool-example/agent/config-naocs-spring-boot-3x/pom.xml b/examples/threadpool-example/agent/config-naocs-spring-boot-3x/pom.xml
index 6f083c1b..41282d6e 100644
--- a/examples/threadpool-example/agent/config-naocs-spring-boot-3x/pom.xml
+++ b/examples/threadpool-example/agent/config-naocs-spring-boot-3x/pom.xml
@@ -9,7 +9,6 @@
2.0.0-SNAPSHOT
-
hippo4j-threadpool-agent-config-nacos-spring-boot-3x
@@ -83,6 +82,15 @@
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.8.1
+
+ 17
+ 17
+
+
diff --git a/examples/threadpool-example/agent/pom.xml b/examples/threadpool-example/agent/pom.xml
index 2a9db731..305226ba 100644
--- a/examples/threadpool-example/agent/pom.xml
+++ b/examples/threadpool-example/agent/pom.xml
@@ -22,7 +22,8 @@
agent-example-core
config-nacos-spring-boot-1x
config-apollo-spring-boot-1x
- config-apollo-spring-boot-3x
- config-naocs-spring-boot-3x
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 6237e82f..a9016274 100644
--- a/pom.xml
+++ b/pom.xml
@@ -126,6 +126,7 @@
org.apache.maven.plugins
maven-jar-plugin
+ ${maven.jar.plugin.version}