Browse Source

:art: 修复部分pom依赖版本号,支持jdk8

Binary Wang 2 years ago
parent
commit
e2e4d345b0
1 changed files with 4 additions and 2 deletions
  1. 4 2
      pom.xml

+ 4 - 2
pom.xml

@@ -129,7 +129,8 @@
 
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <httpclient.version>4.5.13</httpclient.version>
-    <jetty.version>10.0.14</jetty.version>
+    <jetty.version>9.4.51.v20230217</jetty.version>
+    <!-- 这个不能用10以上的版本,不支持jdk8-->
   </properties>
 
   <dependencyManagement>
@@ -225,7 +226,8 @@
       <dependency>
         <groupId>org.testng</groupId>
         <artifactId>testng</artifactId>
-        <version>7.7.0</version>
+        <version>7.5</version>
+        <!-- 这个不能用7.6以上的版本,不支持jdk8-->
         <scope>test</scope>
         <exclusions>
           <exclusion>