Scope: provided
By this scope, the compile classes in the dependency related to the Maven project (e.g. by the "import" statements in the project's java codes) will be included during the build and runtime executionScope: runtime
By this scope, the dependency's jar file will be included in the runtime classpath during the execution of the maven project.To find what is included in the runtime path of a Maven project, navigate to the project's root folder and run the following command:
> mvn dependency:build-classpath
No comments:
Post a Comment