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 would be included or not in WEB-INF/lib. But in case of a JAR it doesn’t matter – dependencies aren’t included. They have to be on classpath when their scope is compile or provided. I know that provided dependencies aren’t transitive – but is it only one difference?
What is the difference between the maven scope compile and provided when artifact is
Share
From the Maven Doc:
Recap: