我想在每个项目中提供 spring、mockito 和 junit 等测试依赖项,以便尽可能轻松地编写测试。我应该对这些依赖项使用依赖项管理还是在父 pom 中定义它们?
java testing maven
java ×1
maven ×1
testing ×1