Maven dependency for whole org.springframework

前端 未结 8 1932
滥情空心
滥情空心 2020-12-28 09:50

How to set Maven dependency for all org.springframework ?

I mean, how to do it in couple lines,instead of providing dependency for every module,e.g.:

8条回答
  •  萌比男神i
    2020-12-28 10:18

    Spring-context internally resolves other dependencies. Please find below the dependency tree.

    [INFO] com.example:springpractice:jar:1.0-SNAPSHOT
    [INFO] \- org.springframework:spring-context:jar:4.3.7.RELEASE:compile
    [INFO]    +- org.springframework:spring-aop:jar:4.3.7.RELEASE:compile
    [INFO]    +- org.springframework:spring-beans:jar:4.3.7.RELEASE:compile
    [INFO]    +- org.springframework:spring-core:jar:4.3.7.RELEASE:compile
    [INFO]    |  \- commons-logging:commons-logging:jar:1.2:compile
    [INFO]    \- org.springframework:spring-expression:jar:4.3.7.RELEASE:compile
    

提交回复
热议问题