From fe9b8154e0d92b181a0024936049c0ddc8e86b5d Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期四, 23 五月 2024 17:15:14 +0800 Subject: [PATCH] 去除调试日志 --- pom.xml | 40 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 39 insertions(+), 1 deletions(-) diff --git a/pom.xml b/pom.xml index b316e98..df841d5 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ <groupId>com.genersoft</groupId> <artifactId>wvp-pro</artifactId> - <version>2.7.0</version> + <version>2.7.1</version> <name>web video platform</name> <description>鍥芥爣28181瑙嗛骞冲彴</description> <packaging>${project.packaging}</packaging> @@ -382,6 +382,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