Guide103.1K views1,754 votes0 replies2,862 following
Choosing the Right Maven Dependency Scope for Servlet and Library Projects
Use Maven dependency scopes to keep compile, test, and runtime classpaths separate; mark container-supplied APIs as provided so they are not packaged.