发布于2020年11月3日 由dllenMaven中的依赖作用范围(scope) scope取值 有效范围(compile, runtime, test) 依赖传递 例子 compile all 是 spring-core provided compile, test 否 servlet-api runtime runtime, test 是 JDBC驱动 test test 否 JUnit system compile, test 是