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
If jar file is like executable spring boot jar file then scope of all dependencies must be compile
to include all jar files.
But if jar file used in other packages or applications then it does not need to include all dependencies in jar file because these packages or applications can provide other dependencies themselves.