From 36de05a5caf9050c49b15a9ef9487f35518b208a Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期三, 08 十一月 2023 11:06:45 +0800
Subject: [PATCH] sdk切换更改为工厂模式
---
ruoyi-admin/pom.xml | 53 +++++++++++++++++++++++++++++++++++------------------
1 files changed, 35 insertions(+), 18 deletions(-)
diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml
index d5d3012..b12c35a 100644
--- a/ruoyi-admin/pom.xml
+++ b/ruoyi-admin/pom.xml
@@ -26,25 +26,13 @@
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional> <!-- 琛ㄧず渚濊禆涓嶄細浼犻�� -->
</dependency>
+ <!--knife4j渚濊禆-->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-boot-starter</artifactId>
+ <version>3.0.3</version>
</dependency>
- <!-- swagger3-->
- <dependency>
- <groupId>io.springfox</groupId>
- <artifactId>springfox-boot-starter</artifactId>
- </dependency>
-
- <!-- 闃叉杩涘叆swagger椤甸潰鎶ョ被鍨嬭浆鎹㈤敊璇紝鎺掗櫎3.0.0涓殑寮曠敤锛屾墜鍔ㄥ鍔�1.6.2鐗堟湰 -->
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-models</artifactId>
- <version>1.6.2</version>
- </dependency>
-
<!-- Postgresql椹卞姩鍖� -->
- <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
@@ -83,12 +71,45 @@
<build>
<plugins>
+ <!-- ==================== 渚濊禆jar 浼樺寲start ========================== -->
+ <!-- lib鍖咃紝鎵撳畬涓�娆″悗鍙互娉ㄩ噴鎺変篃鍙互涓嶇锛屽鏋滄湁鏂板紩鍏ョ殑jar鍖呴渶瑕佹妸lib鍖呬笅鐨刯ar鏇存柊鍒版湇鍔″櫒涓嬶紝
+ // 鍘嬬缉鍚巎ar鍖呯殑鍚姩鎸囦护 java -Dloader.path="lib/" -jar xxx.jar
+ // 鏈帇缂﹋ar鍖呯殑鍚姩鎸囦护 java -jar xxx.jar"
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+<!-- <executions>-->
+<!-- <execution>-->
+<!-- <id>copy-dependencies</id>-->
+<!-- <phase>package</phase>-->
+<!-- <goals>-->
+<!-- <goal>copy-dependencies</goal>-->
+<!-- </goals>-->
+<!-- <configuration>-->
+<!-- <!– 渚濊禆鍖呰緭鍑虹洰褰曪紝灏嗘潵涓嶆墦杩沯ar鍖呴噷 –>-->
+<!-- <outputDirectory>${project.build.directory}/jarLib</outputDirectory>-->
+<!-- <excludeTransitive>false</excludeTransitive>-->
+<!-- <stripVersion>false</stripVersion>-->
+<!-- <includeScope>runtime</includeScope>-->
+<!-- </configuration>-->
+<!-- </execution>-->
+<!-- </executions>-->
+ </plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.1.1.RELEASE</version>
<configuration>
<fork>true</fork> <!-- 濡傛灉娌℃湁璇ラ厤缃紝devtools涓嶄細鐢熸晥 -->
+<!-- <mainClass>com.ruoyi.RuoYiApplication</mainClass>-->
+<!-- <layout>ZIP</layout>-->
+<!-- <includes>-->
+<!-- <include>-->
+<!-- <groupId>nothing</groupId>-->
+<!-- <artifactId>nothing</artifactId>-->
+<!-- </include>-->
+<!-- </includes>-->
</configuration>
<executions>
<execution>
@@ -117,10 +138,6 @@
<JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
</buildArgs>
</configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
</plugin>
</plugins>
<finalName>${project.artifactId}</finalName>
--
Gitblit v1.9.3