Corrected the phase in which the "enforce direct dependencies" plugin is run. This fixes the problem with the "provided" artifacts.