zoukankan      html  css  js  c++  java
  • maven打包跳过测试

    在使用maven打包的时候,通常会进行自动化测试,如果我们确信程序没有问题,可以跳过测试加快打包速度

     1 <build>
     2     <plugins>
     3         <plugin>
     4             <groupId>org.springframework.boot</groupId>
     5             <artifactId>spring-boot-maven-plugin</artifactId>
     6         </plugin>
     7         <!--添加配置跳过测试-->
     8         <plugin>
     9             <groupId>org.apache.maven.plugins</groupId>
    10             <artifactId>maven-surefire-plugin</artifactId>
    11             <version>2.22.1</version>
    12             <configuration>
    13                 <skipTests>true</skipTests>
    14             </configuration>
    15         </plugin>
    16         <!--添加配置跳过测试-->
    17     </plugins>
    18 </build>
  • 相关阅读:
    Seven Puzzle Aizu
    Cheese
    Curling 2.0
    Ball
    Property Distribution
    Red and Black
    Lake Counting
    Ants
    剑桥雅思写作高分范文ESSAY20
    剑桥雅思写作高分范文ESSAY19
  • 原文地址:https://www.cnblogs.com/guanghe/p/14523499.html
Copyright © 2011-2022 走看看