IDEA-98425 IntelliJ does not include Maven transitive dependencies in classpath during rebuild
(cherry-picked from 6ace2d7)
reviewer: Anton Makeev