|
Answer» The dependency scope pertains to all dependencies related to the present stage of the build. The following are the several sorts of dependence scopes: - Compile- It's the default scope, and it shows which dependencies are available in the project's classpath.
- Provided- It denotes that the dependency is delivered at runtime by the JDK, web server, or container.
- Runtime- This INDICATES that the dependency is not required during compilation but is necessary during execution.
- Test- It claims that dependencies are only available during the test compilation and execution phases.
- SYSTEM- It implies that you MUST specify the system path.
- Import- This means that the dependencies in that POM's section should be USED instead of the identified or specified POM.
|