Fix scope of a transitive provided/provided dependency.

As per http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope
and MNG-2205, a provided scope dependency doesn't bring in any transitive
dependencies.