maven

maven scope

2017-04-21  本文已影响44人  lyc365happy

The second dependency is a test-scoped dependency on JUnit. You would use a testscoped dependency when you need to reference this library only during testing.
The last dependency in Project Dependencies is a dependency on the Servlet 2.4 API. The last dependency is scoped as a provided dependency. You would use a provided scope when the application you are developing needs a library for compilation and testing, but this library is supplied by a container at runtime.

上一篇 下一篇

猜你喜欢

热点阅读