What is the difference between the maven scope compile
and provided
when artifact is built as a JAR? If it was WAR, I\'d understand - the artifact
- compile
Make available into class path, don't add this dependency into final jar if it is normal jar; but add this jar into jar if final jar is a single jar (for example, executable jar)
- provided
Dependency will be available at run time environment so don't add this dependency in any case; even not in single jar (i.e. executable jar etc)