From 23beb4fde063b4a648c2a273f17cf5c423fa0ae6 Mon Sep 17 00:00:00 2001 From: leesam <leesam@leesam.cn> Date: 星期一, 01 四月 2024 09:19:46 +0800 Subject: [PATCH] Merge branch 'master' into develop-add-api-key --- pom.xml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 56 insertions(+), 0 deletions(-) diff --git a/pom.xml b/pom.xml index 9273ccb..f38d693 100644 --- a/pom.xml +++ b/pom.xml @@ -101,6 +101,10 @@ </dependency> <dependency> <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-cache</artifactId> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> @@ -181,6 +185,20 @@ <artifactId>springdoc-openapi-security</artifactId> <version>1.6.10</version> </dependency> + <!-- https://mvnrepository.com/artifact/com.baomidou/dynamic-datasource-spring-boot-starter --> + <dependency> + <groupId>com.baomidou</groupId> + <artifactId>dynamic-datasource-spring-boot-starter</artifactId> + <version>3.6.1</version> + </dependency> + + + <!--鍦ㄧ嚎鏂囨。 --> + <dependency> + <groupId>org.springdoc</groupId> + <artifactId>springdoc-openapi-ui</artifactId> + <version>1.6.10</version> + </dependency> <dependency> <groupId>com.github.xiaoymin</groupId> @@ -368,6 +386,44 @@ <skipTests>true</skipTests> </configuration> </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>3.3.0</version> + <configuration> + <excludes> + <exclude>**/all-application.yml</exclude> + <exclude>**/application.yml</exclude> + <exclude>**/application-*.yml</exclude> + <exclude>**/local.jks</exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <executions> + <execution> <!-- 澶嶅埗閰嶇疆鏂囦欢 --> + <id>copy-resources</id> + <phase>package</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <resources> + <resource> + <directory>src/main/resources</directory> + <includes> + <include>application.yml</include> + <include>application-*.yml</include> + </includes> + </resource> + </resources> + <outputDirectory>${project.build.directory}</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> </plugins> <resources> <resource> -- Gitblit v1.8.0