Maven transitive dependency has scope compile while when dependency has provided scope
<p>In my project I have <code>openejb-core</code> dependency with scope <code>provided</code>. However it has transitive dependency of <code>slf4j</code> and its scope is <code>compile</code> (see screenshot). All other transitive dependencies are provided as expected.</p>

<p><strong>Question</strong>: Is it bug or am I missing something?</p>

<p><a href="https://i.stack.imgur.com/3h1rW.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3h1rW.png" alt="enter image description here"></a></p>