compile
生命周期:编译、测试、运行、打包。
runtime
生命周期:测试、运行、打包。
provided
生命周期:编译、测试、运行。
system
生命周期:编译、测试、运行。
test
生命周期:测试。
若A依赖B,B依赖C:
| B在A中Scope \ 求C在A中Scope | compile | provided | runtime | test |
| compile | compile | - | runtime | - |
| provided | provided | - | provided | - |
| runtime | runtime | - | runtime | - |
| test | test | - | test | - |