【tmos】mvn package相关知识点(待补充...)

时间:2023-12-10 11:32:20

SpringBoot项目打包跳过测试

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

mvn命令打包跳过测试

mvn package -Dmaven.test.skip=true