Maven Spring BOM (bill of materials)
来源:互联网 发布:优芽微课制作软件 编辑:程序博客网 时间:2024/05/15 23:52
为了防止用Maven管理Spring项目时,不同的项目依赖了不同版本的Spring,可以使用Maven BOM来解决者一问题。
在依赖管理时,引入spring-framework-bom,如:
<dependencyManagement> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-framework-bom</artifactId> <version>4.3.1.RELEASE</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies></dependencyManagement>
即可统一版本,而且,在引入BOM之后,在引入其他Spring依赖时,都无需指定版本,如:
<dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> </dependency><dependencies>
阅读全文
0 0
- Maven Spring BOM (bill of materials)
- BOM-物料清单(Bill of Material)
- protel 输出器件列表清单BOM (bill of material)
- eagle产生制版文件(gerber files and bill of materials)
- 为什么Altium Designer的Bill of Materials对话框中Grouped Columns栏中是空白的呢?如何解决?
- Materials
- Materials
- Bill of Material in SAP
- The meaning of Bill Gates
- HID to promote the development of materials
- bill
- bill
- PostgreSql Plsql 演算Bill of material
- Bill Gates' 11 rules of life
- [转载]The Programmer's Bill of Rights
- 汇票(Bill of Exchange,Draft)
- Solution of ZOJ 2679 Old Bill
- 【UFLDL-notes of attached materials(to be continued)】
- xml布局侧拉菜单
- idea2017激活
- TD62083、TD62783 8通道达林顿型驱动芯片对比
- cocopods 里面第三方头文件找不到
- Android实现模拟登陆教务系统并解析网页数据
- Maven Spring BOM (bill of materials)
- Spring Security权限报错-java.lang.IllegalArgumentException: Failed to evaluate expression ‘ROLE_USER’
- java TCP/IP Socket编程-----进阶--多线程-----笔记8
- 一、统计学的基本概念
- 图-1
- liunx 文件系统
- 观察者模式-Observer Pattern
- HashMap的使用方法
- 设计模式之组合模式(Composite)