Exclusions

MAVEN POM dependencies and Dependency Exclusions

别说谁变了你拦得住时间么 提交于 2020-01-10 13:10:52
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Introduction This section discusses the functionality of optional dependencies and dependency exclusions. This will help users to understand what are they, how to use them, how they work and when is the best way to use them. It also explains why exclusions are made as per dependency basis not in a POM level. Optional Dependencies Optional dependencies are used when it's not really possible (for whatever reason) to split a project up into sub-modules. The idea is that some of the dependencies are only used for certain features in the project, and will not be