From 4c4357fbb725c7c9d747280788fcd9b15a29b792 Mon Sep 17 00:00:00 2001 From: wanglizhong <wlz> Date: 星期六, 10 五月 2025 21:39:32 +0800 Subject: [PATCH] feat:add build test --- ruoyi-admin/readme.md | 4 ++++ ruoyi-admin/pom.xml | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index da03592..624a352 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -76,13 +76,9 @@ <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> - <version>2.5.15</version> + <version>2.5.14</version> <configuration> - <fork>true</fork> <!-- 濡傛灉娌℃湁璇ラ厤缃紝devtools涓嶄細鐢熸晥 --> - <profiles> - <profile>dev</profile> - <profile>prod</profile> - </profiles> + <mainClass>com.ruoyi.RuoYiApplication</mainClass> </configuration> <executions> <execution> @@ -109,18 +105,22 @@ <profile> <id>dev</id> <properties> - <spring.profiles.active>dev</spring.profiles.active> - <logging.level.com.ruoyi>debug</logging.level.com.ruoyi> + <profiles.active>dev</profiles.active> </properties> <activation> <activeByDefault>true</activeByDefault> </activation> </profile> <profile> + <id>test</id> + <properties> + <profiles.active>test</profiles.active> + </properties> + </profile> + <profile> <id>prod</id> <properties> - <spring.profiles.active>prod</spring.profiles.active> - <logging.level.com.ruoyi>info</logging.level.com.ruoyi> + <profiles.active>prod</profiles.active> </properties> </profile> </profiles> diff --git a/ruoyi-admin/readme.md b/ruoyi-admin/readme.md new file mode 100644 index 0000000..18a428c --- /dev/null +++ b/ruoyi-admin/readme.md @@ -0,0 +1,4 @@ +# 鎵撳寘鎴恡est鐜 +mvn clean package -P test +# 鎵撳寘鎴恜rod鐜 +mvn clean package -P prod -- Gitblit v1.9.1