方式1:用命令带上参数

mvn install -Dmaven.test.skip=true

方式2:在pom.xml里面配置

<build>
<defaultGoal>compile</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

参考:

http://www.cnblogs.com/GarfieldTom/p/3707160.html
http://my.oschina.net/u/865478/blog/159657

最新文章

  1. HTML5原生拖放实例分析
  2. centos6.5安装配置fastdfs+nginx实现分布式图片服务器
  3. C语言内存地址基础
  4. C#创建微信自定义菜单
  5. Android群英传》读书笔记 (3) 第六章 Android绘图机制与处理技巧 + 第七章 Android动画机制与使用技巧
  6. MSSQL 查询统计某状态出现的次数及累计时间
  7. Match类
  8. usaco 2002 月赛 Chores 题解
  9. selenium——find_element_by_xx 与 find_element(By.XX,&#39;XXXX&#39;)
  10. company_credit
  11. CG-ctf WP
  12. angular2的ElementRef在组件中获取不到
  13. vue.js2.0:如何搭建开发环境及构建项目
  14. Eclipse安装教程 ——史上最详细安装Java &amp;Python教程说明
  15. base | Tread类
  16. BZOJ3626 [LNOI2014]LCA 树链剖分 线段树
  17. [转]RabbitMQ的安装与客户端的简单实用
  18. 爬虫解析库——BeautifulSoup
  19. 关于C#引用ExceptionPolicy.HandleException(ex, &quot;LogAndReplace&quot;, out exceptionToReplace);
  20. LSTM(Long Short-Term Memory)长短期记忆网络

热门文章

  1. nginx高性能webserver具体解释(1)--安装nginx
  2. ideaIU-15.0.2 注册码
  3. exception PLS-00403: expression &#39;V_END&#39; cannot be used as an INTO-target of a SELECT/FETCH statement
  4. HTTP协议详解之URL篇
  5. iOS蓝牙BLE4.0通信功能
  6. opencv-3.0.0-beta和opencv2版本号的差别
  7. Web Service基础——规范及三要素
  8. PHP-多域名单点登陆方案
  9. Windows右键菜单设置与应用技巧
  10. 把Android源代码加入SDK