Why were Spring Boot starter dependencies designed to be used contrary to the stated intent of Maven's transitive dependency mechanisms?

前端 未结 2 1896
孤街浪徒
孤街浪徒 2021-02-19 14:58

According to the Maven dependency documentation it is intended that all compile dependencies be explicitly listed, rather than transitively used at compile time:

2条回答
  •  花落未央
    2021-02-19 15:44

    Looks like you have configured dependency plugin to fail on warnings. I think dependency plugin spits out warning if you have not explicitly declared a transitive dependency.

    Try changing true to false

提交回复
热议问题