Maven Learning - Direct Dependencies & Transitive Dependencies
2023-09-11 14:16:54 时间
Dependencies declared in your project's pom.xml file often have their own dependencies.
The main dependencies are called direct dependencies.
And the sub dependencies on which the direct dependencies relied on are called transitive dependencies.
eg:
You have a direct dependency called Hibernate Core, and the Hibernate Core requires JBoss Logging, dom4j, javaassist etc to function properly.
The dependencies such as dom4j, javaassist, JBoss logging are considered as your project's transitive dependencies.
The very important key benefit of Maven is that it automatically deals with transitive dependencies and includes them in your project.
相关文章
- C# SortedDictionary<TKey, TValue> 类
- Difference between Databound & Databind
- docker-maven-plugin:自动构建Maven多模块的Docker镜像,并推送到Docker Registry或阿里云
- 《maven官方文档》5分钟开始Maven
- 【前端学习之HTML&CSS】-- HTML第八篇 -- 容器、列表与元素包含
- 【前端学习之HTML&CSS】-- HTML第五篇 -- 文本元素
- 【前端学习之HTML&CSS】-- 第一篇 -- 前端工程简介
- 了解与建设有中国特色的Android M&N(Android6.0和7.0新特性分析)
- [设计模式] 1/2 工程与抽象工程模式 factory & Abstrac Factory
- AT&T:400G测试加快供应商与运营商的互操作性
- Django 4.x Models Field 字段选项&类型
- 文件传输工具FileZilla&WinSCP