compile This scope indicates that dependency is available in classpath of project. It is default scope. provided This scope indicates that dependency is to be provided by JDK or web-Server/Container at runtime runtime This scope indicates that dependency is not required for compilation, but is required during execution. test This scope indicates that the dependency is only available for the test compilation and execution phases. system This scope indicates that you have to provide the system path. import This scope is only used when dependency is of type pom. This scopes indicates that the specified POM should be replaced with the dependencies in that POM's <dependencyManagement> section.
Read full article from Maven Manage Dependencies
No comments:
Post a Comment