From ffe006d278d3bc2014a13be90081ee12aa128675 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 26 五月 2025 14:09:52 +0800
Subject: [PATCH] mysql连接参数中增加属性allowPublicKeyRetrieval=true
---
pms-parent/pms-web-base/pom.xml | 65 +++-----------------------------
1 files changed, 6 insertions(+), 59 deletions(-)
diff --git a/pms-parent/pms-web-base/pom.xml b/pms-parent/pms-web-base/pom.xml
index 94a45c3..49d4c36 100644
--- a/pms-parent/pms-web-base/pom.xml
+++ b/pms-parent/pms-web-base/pom.xml
@@ -12,7 +12,6 @@
<packaging>jar</packaging>
- <groupId>com.dy</groupId>
<artifactId>pms-web-base</artifactId>
<version>1.0.0</version>
<name>pms-web-base</name>
@@ -34,36 +33,24 @@
<build>
<plugins>
- <!-- 鐢熸垚涓嶅寘鍚緷璧杍ar鐨勫彲鎵цjar鍖�
+ <!-- 鐢熸垚涓嶅寘鍚緷璧杍ar鐨勫彲鎵цjar鍖�-->
<plugin>
- !- spring boot鎻愪緵鐨刴aven鎵撳寘鎻掍欢 -
+ <!-- spring boot鎻愪緵鐨刴aven鎵撳寘鎻掍欢 -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
- !-
<goals>
<goal>repackage</goal>
</goals>
- -
<configuration>
- !- 涓嶅姞鐨勮瘽鏈�缁堝寘鍚嶄负: ${artifactId}-${version}.jar, 鍔犱簡鐨勮瘽鏈�缁堝寘鍚�: ${artifactId}-${version}-${classifier}.jar -
+ <!-- 涓嶅姞鐨勮瘽鏈�缁堝寘鍚嶄负: ${project.artifactId}-${project.version}.jar, 鍔犱簡鐨勮瘽鏈�缁堝寘鍚�: ${project.artifactId}-${project.version}-${classifier}.jar -->
<classifier>execute</classifier>
- !- 涓嶆寚瀹氱敓鎴愯矾寰勭殑璇�, 榛樿淇濆瓨鍦� ${build.directory} 涓� -
+ <!-- 涓嶆寚瀹氱敓鎴愯矾寰勭殑璇�, 榛樿淇濆瓨鍦� ${build.directory} 涓� -->
<outputDirectory>${project.build.directory}/execute</outputDirectory>
- <finalName>${artifactId}-${version}</finalName>
+ <finalName>${project.artifactId}-${project.version}</finalName>
<layout>ZIP</layout>
- <mainClass>com.dy.pmsBase.pmsWebBaseApplication</mainClass>
- <includes>
- <include>
- <groupId>com.dy</groupId>
- <artifactId>pms-common</artifactId>
- </include>
- <include>
- <groupId>com.dy</groupId>
- <artifactId>pms-global</artifactId>
- </include>
- </includes>
+ <mainClass>com.dy.pmsBase.PmsBaseApplication</mainClass>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
@@ -74,46 +61,6 @@
</execution>
</executions>
- </plugin>
- -->
- <!-- 鎷疯礉渚濊禆鐨刯ar鍖呭埌lib鐩綍-->
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <executions>
- <execution>
- <configuration>
- <!-- 涓嶅姞鐨勮瘽鏈�缁堝寘鍚嶄负: ${artifactId}-${version}.jar, 鍔犱簡鐨勮瘽鏈�缁堝寘鍚�: ${artifactId}-${version}-${classifier}.jar
- <classifier>execute</classifier>
- -->
- <!-- ${project.build.directory}鏄痬aven鍙橀噺锛屽唴缃殑锛岃〃绀簍arget鐩綍,濡傛灉涓嶅啓锛屽皢鍦ㄦ牴鐩綍涓嬪垱寤�/lib -->
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
- <!-- excludeTransitive:鏄惁涓嶅寘鍚棿鎺ヤ緷璧栧寘锛屾瘮濡傛垜浠緷璧朅锛屼絾鏄疉鍙堜緷璧栦簡B锛屾垜浠槸鍚︿篃瑕佹妸B鎵撹繘鍘� 榛樿涓嶆墦-->
- <excludeTransitive>false</excludeTransitive>
- <!-- 澶嶅埗鐨刯ar鏂囦欢鍘绘帀鐗堟湰淇℃伅 -->
- <stripVersion>false</stripVersion>
- <finalName>${project.artifactId}-${project.version}</finalName>
- <layout>ZIP</layout>
- <mainClass>com.dy.pmsBase.PmsBaseApplication</mainClass>
- <includes>
- <include>
- <groupId>com.dy</groupId>
- <artifactId>pms-common</artifactId>
- </include>
- <include>
- <groupId>com.dy</groupId>
- <artifactId>pms-global</artifactId>
- </include>
- </includes>
- <excludes>
- <exclude>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- </exclude>
- </excludes>
- </configuration>
- </execution>
- </executions>
</plugin>
<plugin>
--
Gitblit v1.8.0