项目子moudle的pom中已经引用了为父moudle,但是springboot项目又需要引用
spring-boot-start-parent,翻看了官方文档.发现有这样一段,特地记下.
Not everyone likes inheriting from the spring-boot-starter-parent POM. You may have your own corporate standard parent that you need to use or you may prefer to explicitly declare all your Maven configuration.
If you do not want to use the spring-boot-starter-parent, you can still keep the benefit of the dependency management (but not the plugin management) by using a scope=import dependency, as follows:
大致意思就是,可以不用,直接引包亦可以实现同样的功能
org.springframework.boot
spring-boot-dependencies
2.1.1.RELEASE
pom
import