spring boot 打包跳过测试

xiaoxiao2025-04-05  14

我使用的是 idea

在pom.xml中添加 spring boot maven打包插件

<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <skipTests>true</skipTests> </plugin> </plugins> </build>

也可以在  pom.xml 中的 properties 设置

<properties> <skipTests>true</skipTests> </properties>

 

转载请注明原文地址: https://www.6miu.com/read-5027545.html

最新回复(0)