Browse Source

调整JDK版本

tsurumure 10 months ago
parent
commit
1e7c310578
2 changed files with 4 additions and 3 deletions
  1. 3 3
      README.md
  2. 1 0
      pom.xml

+ 3 - 3
README.md

@@ -1,6 +1,6 @@
 
 ### 架构
-* Ubuntu 22.04 + JDK 19.0.2 + Maven 3.8.1
+* Ubuntu 22.04 + JDK 17.0.2 + Maven 3.8.1
 * Docker 25.0.4 + Docker-Compose 2.6.1 + Gogs + Drone
 * MySQL 8.0.31 + Redis 5.0.14.1
 * Springboot 3.1.1 + Mybatis-plus 3.5.3.2
@@ -15,7 +15,7 @@ Maven 配置 (用户配置)
 
 ### 手动部署
 第三方JAR包在 `./configuration/.m2/repository` 目录,命令添加到本地 Maven 仓库
-```java
+```
 mvn install:install-file -Dfile=configuration/.m2/repository/ziniao-sdk-java-5.1.0.jar -DgroupId=com.ziniao -DartifactId=ziniao-sdk-java -Dversion=5.1.0 -Dpackaging=jar
 // 如果出现拒绝访问,则需要使用管理员权限执行命令
 ```
@@ -34,7 +34,7 @@ mvn clean package -P dev
 ```
 
 #### Ubuntu 部署
-```java
+```
 // 安装 nodup (Ubuntu-22.04 虚拟机可能需要安装)
 sudo apt install perforate -y
 

+ 1 - 0
pom.xml

@@ -452,6 +452,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.8.1</version>
                 <configuration>
                     <parameters>true</parameters>
                     <source>${java.version}</source>