Which maven scope to use? -
El-api.jar is required to compile my project. At the same time, this library is provided by the Tomcat Container, when the web app is deployed.
What should I do to successfully compile the project, but simultaneously - the API in my web-INF / Lib?
Thank you.
This is a Provided This is very similar to a compilation, but indicates that you provide dependency on the JDK or container on runtime Expect to do. For example, when creating a web application for Java Enterprise Edition, you will determine the dependency on the serlet API and related Java EE API for the claim because the web container provides those sections. This scope is available only on the compilation and testing class, and is not infected. classic usecake for the provided area.
Comments
Post a Comment