Om.xml dependency dependent effect inside the element tag optional
For example, the introduction of dependent parent project
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional> <!-- 表示依赖不会传递 -->
</dependency>
Then the child can not inherit the project introduced spring-boot-devtools
Avoid relying on the conflict, if it is false in case it will not set the optional introduction of inheritance