<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
</dependencies>

<scope>test</scope>

maven在编译的时候,src/main/java下是不引用<scope>test</scope>的jar,而编译src/test/java下的测试这会引用<scope>test</scope>的jar

最新文章

  1. IOS随机随学
  2. 一款免费的js图表工具--morris
  3. ocx控件 编译成C#调用的dll 方法 转
  4. Asp.net MVC的Model Binder工作流程以及扩展方法(1) - Custom Model Binder
  5. javascript同名变量
  6. Helloworld程序的创建以及配置文件的讲解
  7. rdlc Report Viewer Configuration Error
  8. Exception Handling Statements (C# Reference)
  9. 【转】Android 二维码 生成和识别(附Demo源码)--不错
  10. sql两个表联合更新
  11. debian安装vld来查看Opcode,PHP调优。
  12. ios01
  13. The Linux Mint 18.1:Eclipse Run The C++ And Python ConfigorationWhen You achieve above step,you can run the c++ and python! (Next OTL ,PYOTL is Project That Write By Ruimin Shen(ability man) )
  14. 14. Longest Common Prefix【leetcode】
  15. 201521123117 《Java程序设计》第1周学习总结
  16. poj2406 连续重复子串
  17. nodejs 开发企业微信第三方应用入门教程
  18. WinForm中一个窗体调用另一个窗体
  19. Codeforces 570E - Pig and Palindromes - [滚动优化DP]
  20. centOS6.4 extundelete工具恢复rm -rf 删除的目录[转]

热门文章

  1. Image Processing and Analysis_8_Edge Detection:Learning to Detect Natural Image Boundaries Using Local Brightness, Color, and Texture Cues ——2004
  2. Linux学习笔记(十三)磁盘管理(一):磁盘分区
  3. 机器学习(十)—聚类算法(KNN、Kmeans、密度聚类、层次聚类)
  4. Subordinates(贪心)
  5. 部署 &amp; virtualen
  6. 第四章 深入C#的string类
  7. Python 13--数据库
  8. Excel2013下拉框选择自动填充颜色
  9. 关闭tomcat8080端口
  10. 2019牛客暑期多校训练营(第六场)E 构造、原图是补图的同构图